Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008639/0.0008639, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9251/0.9251, allocations: 177.1 MB / 202.8 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7202/0.7202, allocations: 154.6 MB / 413.8 MB, free: 0.7344 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.691e-05/1.845e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002178/0.002196, allocations: 1.661 MB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0005702/0.002766, allocations: 382.7 kB / 0.6201 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.65e-05/0.002843, allocations: 3.938 kB / 0.6201 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.002944, allocations: 15.86 kB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.527e-05/0.002999, allocations: 27.72 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004162/0.003415, allocations: 118.3 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.003563, allocations: 119.6 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.003674, allocations: 19.98 kB / 0.6204 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.069e-05/0.003755, allocations: 59.88 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.307e-05/0.003808, allocations: 27.91 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.003828, allocations: 8 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.722e-05/0.003925, allocations: 59.89 kB / 0.6205 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.525e-05/0.00395, allocations: 27.89 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.141e-05/0.003982, allocations: 35.91 kB / 0.6206 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.004172, allocations: 139.6 kB / 0.6207 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.004175, allocations: 0 / 0.6207 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.082e-06/0.004176, allocations: 4 kB / 0.6207 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.00418, allocations: 0 / 0.6207 GB, free: 11.03 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004673/0.004648, allocations: 341.8 kB / 0.621 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.462e-05/0.004712, allocations: 11.97 kB / 0.621 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.423e-05/0.004756, allocations: 42.73 kB / 0.6211 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001857/0.004942, allocations: 24.88 kB / 0.6211 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.005201, allocations: 141.6 kB / 0.6212 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-05/0.005277, allocations: 59.97 kB / 0.6213 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.005289, allocations: 8.375 kB / 0.6213 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.005495, allocations: 134.2 kB / 0.6214 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.005502, allocations: 192 / 0.6214 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.005515, allocations: 4.375 kB / 0.6214 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.005521, allocations: 3.938 kB / 0.6214 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.005671, allocations: 83.84 kB / 0.6215 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004854/0.006156, allocations: 347.5 kB / 0.6219 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003176/0.006474, allocations: 126.6 kB / 0.622 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.559e-05/0.00654, allocations: 36.78 kB / 0.622 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.006554, allocations: 8 kB / 0.622 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.006573, allocations: 34.56 kB / 0.622 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.006575, allocations: 0 / 0.622 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002825/0.006857, allocations: 137.7 kB / 0.6222 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.006886, allocations: 51.41 kB / 0.6222 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.481e-05/0.00697, allocations: 133.8 kB / 0.6224 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.006985, allocations: 25.7 kB / 0.6224 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.748e-05/0.007032, allocations: 104.1 kB / 0.6225 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.007055, allocations: 27.69 kB / 0.6225 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.007092, allocations: 21.7 kB / 0.6225 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.475e-05/0.007167, allocations: 322.8 kB / 0.6228 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.996e-05/0.007227, allocations: 31.97 kB / 0.6229 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.543e-05/0.007292, allocations: 45.69 kB / 0.6229 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.007406, allocations: 69.69 kB / 0.623 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.007408, allocations: 4 kB / 0.623 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001497/0.007558, allocations: 113.5 kB / 0.6231 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.007573, allocations: 9.703 kB / 0.6231 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.007579, allocations: 4 kB / 0.6231 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.007598, allocations: 3.938 kB / 0.6231 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.35e-05/0.007662, allocations: 19.98 kB / 0.6231 GB, free: 8.324 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.007668, allocations: 0.5469 kB / 0.6231 GB, free: 8.324 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.078e-05/0.007708, allocations: 15.89 kB / 0.6231 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.007714, allocations: 0 / 0.6231 GB, free: 8.309 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.758e-05/0.007781, allocations: 130.8 kB / 0.6233 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.928e-05/0.007801, allocations: 7.953 kB / 0.6233 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.523e-05/0.007826, allocations: 12.78 kB / 0.6233 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.007829, allocations: 0 / 0.6233 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.007834, allocations: 0 / 0.6233 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.007838, allocations: 7.922 kB / 0.6233 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.007974, allocations: 164.7 kB / 0.6234 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.007975, allocations: 0 / 0.6234 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.578e-05/0.008021, allocations: 15.98 kB / 0.6235 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.008023, allocations: 0 / 0.6235 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.00803, allocations: 8 kB / 0.6235 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.008032, allocations: 3.984 kB / 0.6235 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.008034, allocations: 0 / 0.6235 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/0.008211, allocations: 207.3 kB / 0.6237 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.294e-05/0.008224, allocations: 7.953 kB / 0.6237 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.008236, allocations: 0 / 0.6237 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.488e-05/0.008311, allocations: 15.98 kB / 0.6237 GB, free: 7.668 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.008348, allocations: 3.984 kB / 0.6237 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.008359, allocations: 11.88 kB / 0.6237 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.726e-05/0.008406, allocations: 111.2 kB / 0.6238 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.008406, allocations: 0 / 0.6238 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001694/0.008575, allocations: 20 kB / 0.6238 GB, free: 7.523 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003624/0.008938, allocations: 0.728 MB / 0.6245 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001735/0.009111, allocations: 71.94 kB / 0.6246 GB, free: 6.699 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.009113, allocations: 64 / 0.6246 GB, free: 6.699 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.551e-05/0.009169, allocations: 39.92 kB / 0.6247 GB, free: 6.66 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.009424, allocations: 37.62 kB / 0.6247 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.01065, allocations: 1.552 MB / 0.6262 GB, free: 4.988 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.387e-05/0.0107, allocations: 83.17 kB / 0.6263 GB, free: 4.887 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.851e-05/0.01076, allocations: 8.734 kB / 0.6263 GB, free: 4.875 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.112e-05/0.01081, allocations: 32.42 kB / 0.6263 GB, free: 4.844 MB / 0.5886 GB Notification: Performance of SimCode: time 8.31e-07/0.01081, allocations: 4 kB / 0.6263 GB, free: 4.84 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01732/0.02813, allocations: 3.514 MB / 0.6298 GB, free: 1.516 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.682/6.71, allocations: 14.52 kB / 0.6298 GB, free: 1.508 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.40413641370833] Failed to read output from testmodel.py, exit status != 0: 6.790375315584242 6.804749117 6.797744328 Calling exit ...