Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.0007679/0.0007679, 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.0008013/0.0008013, 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.9228/0.9228, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7112/0.7112, allocations: 154.6 MB / 413.7 MB, free: 0.8047 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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.17e-05, allocations: 6.281 kB / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.003989/0.00401, allocations: 3.621 MB / 0.6216 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001279/0.004138, allocations: 139.5 kB / 0.6217 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.268e-05/0.004161, allocations: 0 / 0.6217 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.004262, allocations: 3.938 kB / 0.6217 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.926e-05/0.004342, allocations: 11.92 kB / 0.6218 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.004669, allocations: 94.36 kB / 0.6218 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.89e-05/0.004748, allocations: 35.84 kB / 0.6219 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.336e-05/0.004792, allocations: 4 kB / 0.6219 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.734e-05/0.004839, allocations: 15.97 kB / 0.6219 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.69e-05/0.004906, allocations: 15.92 kB / 0.6219 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.004919, allocations: 0 / 0.6219 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004583/0.005377, allocations: 219.2 kB / 0.6221 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.191e-05/0.005419, allocations: 3.984 kB / 0.6221 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.032e-05/0.005439, allocations: 4 kB / 0.6221 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.005564, allocations: 71.8 kB / 0.6222 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.005566, allocations: 0 / 0.6222 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.393e-06/0.005567, allocations: 0 / 0.6222 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.005571, allocations: 0 / 0.6222 GB, free: 9.465 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000304/0.005875, allocations: 258.3 kB / 0.6224 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.005911, allocations: 16.02 kB / 0.6225 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.798e-05/0.005939, allocations: 30.75 kB / 0.6225 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.844e-05/0.005968, allocations: 4.938 kB / 0.6225 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.539e-05/0.006043, allocations: 109.8 kB / 0.6226 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.89e-05/0.006102, allocations: 55.95 kB / 0.6227 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-06/0.006109, allocations: 384 / 0.6227 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.00622, allocations: 71.95 kB / 0.6227 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.006228, allocations: 3.938 kB / 0.6227 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.006243, allocations: 0 / 0.6227 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.00626, allocations: 3.938 kB / 0.6227 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.082e-05/0.006301, allocations: 19.97 kB / 0.6228 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003147/0.006616, allocations: 228 kB / 0.623 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.288e-05/0.006649, allocations: 22.58 kB / 0.623 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.431e-05/0.006663, allocations: 8.797 kB / 0.623 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.747e-05/0.0067, allocations: 8.062 kB / 0.623 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.006721, allocations: 34.5 kB / 0.623 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.006722, allocations: 0 / 0.623 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001289/0.006851, allocations: 37.69 kB / 0.6231 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.006878, allocations: 51.41 kB / 0.6231 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.65e-05/0.006934, allocations: 101.9 kB / 0.6232 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.006945, allocations: 25.7 kB / 0.6232 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.679e-05/0.006982, allocations: 100.1 kB / 0.6233 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.398e-06/0.006986, allocations: 3.953 kB / 0.6233 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.219e-05/0.007009, allocations: 13.72 kB / 0.6234 GB, free: 8.086 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.486e-05/0.007083, allocations: 318.8 kB / 0.6237 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.051e-05/0.007094, allocations: 3.984 kB / 0.6237 GB, free: 7.762 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.83e-05/0.007112, allocations: 17.66 kB / 0.6237 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.74e-05/0.00714, allocations: 25.66 kB / 0.6237 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.007141, allocations: 0 / 0.6237 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.468e-05/0.007196, allocations: 57.59 kB / 0.6238 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.007207, allocations: 8 kB / 0.6238 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.007212, allocations: 0 / 0.6238 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.007222, allocations: 0 / 0.6238 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.387e-05/0.007256, allocations: 4 kB / 0.6238 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.00726, allocations: 0 / 0.6238 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.141e-05/0.007271, allocations: 7.984 kB / 0.6238 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.007279, allocations: 0 / 0.6238 GB, free: 7.625 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 (3): * Single equations (assignments): 3 * 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 0.0001839/0.007462, allocations: 118.8 kB / 0.6239 GB, free: 7.5 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.424e-05/0.007477, allocations: 3.953 kB / 0.6239 GB, free: 7.496 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.689e-05/0.007564, allocations: 128.9 kB / 0.624 GB, free: 7.359 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.81e-05/0.007602, allocations: 180.2 kB / 0.6242 GB, free: 7.176 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.995e-05/0.007642, allocations: 180.3 kB / 0.6244 GB, free: 6.992 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-05/0.007686, allocations: 180.2 kB / 0.6245 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.007824, allocations: 380.2 kB / 0.6249 GB, free: 6.387 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.318e-05/0.007847, allocations: 104.9 kB / 0.625 GB, free: 6.277 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.161e-05/0.007868, allocations: 105 kB / 0.6251 GB, free: 6.168 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-05/0.007904, allocations: 176.3 kB / 0.6253 GB, free: 5.988 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.082e-05/0.007944, allocations: 184.2 kB / 0.6254 GB, free: 5.801 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.936e-05/0.007984, allocations: 188.2 kB / 0.6256 GB, free: 5.609 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-05/0.008024, allocations: 184.2 kB / 0.6258 GB, free: 5.422 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.858e-05/0.008113, allocations: 303.7 kB / 0.6261 GB, free: 5.102 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.232e-05/0.008145, allocations: 109 kB / 0.6262 GB, free: 4.988 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.725e-05/0.008203, allocations: 180.3 kB / 0.6264 GB, free: 4.805 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.446e-05/0.008297, allocations: 112.9 kB / 0.6265 GB, free: 4.688 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.00834, allocations: 180.3 kB / 0.6266 GB, free: 4.504 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.008362, allocations: 112.8 kB / 0.6268 GB, free: 4.387 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.165e-05/0.008394, allocations: 83.28 kB / 0.6268 GB, free: 4.305 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.008394, allocations: 0 / 0.6268 GB, free: 4.305 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001632/0.008557, allocations: 15.94 kB / 0.6268 GB, free: 4.289 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 (0): * Single equations (assignments): 0 * 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.0002924/0.008849, allocations: 0.8279 MB / 0.6277 GB, free: 3.434 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.207e-05/0.008901, allocations: 15.94 kB / 0.6277 GB, free: 3.418 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.008903, allocations: 0 / 0.6277 GB, free: 3.418 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.11e-07/0.008903, allocations: 0 / 0.6277 GB, free: 3.418 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.009192, allocations: 463.6 kB / 0.6281 GB, free: 2.961 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007012/0.009894, allocations: 1.324 MB / 0.6294 GB, free: 1.547 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.184e-05/0.009936, allocations: 59.34 kB / 0.6295 GB, free: 1.469 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.021e-05/0.009966, allocations: 8.547 kB / 0.6295 GB, free: 1.461 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.188e-05/0.009988, allocations: 12.5 kB / 0.6295 GB, free: 1.445 MB / 0.5886 GB Notification: Performance of SimCode: time 4.61e-07/0.009988, allocations: 0 / 0.6295 GB, free: 1.445 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01397/0.02395, allocations: 2.177 MB / 0.6316 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.944/6.968, allocations: 8.047 kB / 0.6316 GB, free: 15.43 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.701991675421596] Failed to read output from testmodel.py, exit status != 0: 7.047405274584889 7.05582435 7.048731546 Calling exit ...