Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001134/0.001134, 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.001435/0.001435, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9252/0.9252, 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 master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7425/0.7425, allocations: 154.5 MB / 413.7 MB, free: 0.8203 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.668e-05/2.869e-05, allocations: 2.281 kB / 0.618 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004318/0.004346, allocations: 3.608 MB / 0.6215 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001579/0.004504, allocations: 147.4 kB / 0.6217 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.155e-05/0.004526, allocations: 4 kB / 0.6217 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.004626, allocations: 3.938 kB / 0.6217 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.563e-05/0.004702, allocations: 15.91 kB / 0.6217 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003386/0.00504, allocations: 79.69 kB / 0.6218 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.697e-05/0.005117, allocations: 27.86 kB / 0.6218 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.167e-05/0.005159, allocations: 7.984 kB / 0.6218 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.683e-05/0.005216, allocations: 31.91 kB / 0.6218 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.603e-05/0.005282, allocations: 4 kB / 0.6218 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.005296, allocations: 0 / 0.6218 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005284/0.005825, allocations: 211.2 kB / 0.622 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.406e-05/0.005879, allocations: 15.97 kB / 0.6221 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.136e-05/0.0059, allocations: 4 kB / 0.6221 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.006032, allocations: 63.8 kB / 0.6221 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.006036, allocations: 0 / 0.6221 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.615e-06/0.006038, allocations: 0 / 0.6221 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.044e-06/0.006045, allocations: 0 / 0.6221 GB, free: 9.48 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.0003334/0.006379, allocations: 258.3 kB / 0.6224 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/0.006435, allocations: 13.47 kB / 0.6224 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.87e-05/0.006464, allocations: 30.75 kB / 0.6224 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.227e-05/0.006496, allocations: 8.922 kB / 0.6224 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.644e-05/0.006573, allocations: 117.7 kB / 0.6225 GB, free: 9 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.558e-05/0.006638, allocations: 55.91 kB / 0.6226 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-06/0.006646, allocations: 4.375 kB / 0.6226 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.006758, allocations: 67.94 kB / 0.6227 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.006766, allocations: 3.938 kB / 0.6227 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.006775, allocations: 0 / 0.6227 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.006792, allocations: 8 kB / 0.6227 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.521e-05/0.006827, allocations: 15.98 kB / 0.6227 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000322/0.007149, allocations: 227.9 kB / 0.6229 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.591e-05/0.007185, allocations: 22.5 kB / 0.6229 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.436e-05/0.0072, allocations: 8.922 kB / 0.6229 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.803e-05/0.007248, allocations: 8 kB / 0.6229 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.007271, allocations: 34.56 kB / 0.623 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.007272, allocations: 0 / 0.623 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001281/0.0074, allocations: 33.8 kB / 0.623 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.007434, allocations: 63.36 kB / 0.6231 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.707e-05/0.007501, allocations: 101.9 kB / 0.6232 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.007514, allocations: 25.7 kB / 0.6232 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.52e-05/0.00756, allocations: 91.97 kB / 0.6233 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.965e-06/0.007568, allocations: 7.938 kB / 0.6233 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.007597, allocations: 17.72 kB / 0.6233 GB, free: 8.086 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.098e-05/0.007688, allocations: 314.8 kB / 0.6236 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.076e-05/0.007698, allocations: 0 / 0.6236 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.012e-05/0.007719, allocations: 21.7 kB / 0.6236 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.952e-05/0.007748, allocations: 25.66 kB / 0.6236 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.00775, allocations: 0 / 0.6236 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.396e-05/0.007814, allocations: 53.62 kB / 0.6237 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.007829, allocations: 6.5 kB / 0.6237 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.007835, allocations: 0 / 0.6237 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.007848, allocations: 0 / 0.6237 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.541e-05/0.007893, allocations: 4 kB / 0.6237 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.007899, allocations: 4 kB / 0.6237 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.267e-05/0.007912, allocations: 0 / 0.6237 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.00792, allocations: 0 / 0.6237 GB, free: 7.641 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 6.944e-05/0.007989, allocations: 134.8 kB / 0.6238 GB, free: 7.5 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.008005, allocations: 3.953 kB / 0.6238 GB, free: 7.496 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.008115, allocations: 113 kB / 0.624 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.767e-05/0.008173, allocations: 180.3 kB / 0.6241 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-05/0.008223, allocations: 188.2 kB / 0.6243 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.241e-05/0.008276, allocations: 176.3 kB / 0.6245 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.00843, allocations: 380.2 kB / 0.6248 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.747e-05/0.008457, allocations: 109 kB / 0.6249 GB, free: 6.289 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.553e-05/0.008483, allocations: 101 kB / 0.625 GB, free: 6.184 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.224e-05/0.008525, allocations: 184.2 kB / 0.6252 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.087e-05/0.008576, allocations: 180.3 kB / 0.6254 GB, free: 5.812 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-05/0.008623, allocations: 180.2 kB / 0.6256 GB, free: 5.629 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.294e-05/0.008676, allocations: 180.2 kB / 0.6257 GB, free: 5.445 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.008781, allocations: 315.7 kB / 0.626 GB, free: 5.113 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.411e-05/0.008815, allocations: 101 kB / 0.6261 GB, free: 5.008 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.661e-05/0.008871, allocations: 188.5 kB / 0.6263 GB, free: 4.816 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.008977, allocations: 108.9 kB / 0.6264 GB, free: 4.703 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.009023, allocations: 188.2 kB / 0.6266 GB, free: 4.512 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.898e-05/0.009052, allocations: 101 kB / 0.6267 GB, free: 4.406 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.867e-05/0.009091, allocations: 87.27 kB / 0.6268 GB, free: 4.32 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.009091, allocations: 3.938 kB / 0.6268 GB, free: 4.316 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001842/0.009275, allocations: 19.94 kB / 0.6268 GB, free: 4.297 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.0003823/0.009658, allocations: 0.8281 MB / 0.6276 GB, free: 3.438 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.38e-05/0.009731, allocations: 4 kB / 0.6276 GB, free: 3.434 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.009733, allocations: 0 / 0.6276 GB, free: 3.434 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.009734, allocations: 0 / 0.6276 GB, free: 3.434 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.01013, allocations: 467.7 kB / 0.628 GB, free: 2.973 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008984/0.01103, allocations: 1.34 MB / 0.6294 GB, free: 1.543 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.526e-05/0.01108, allocations: 59.34 kB / 0.6294 GB, free: 1.465 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.439e-05/0.01113, allocations: 4 kB / 0.6294 GB, free: 1.461 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.878e-05/0.01116, allocations: 8.5 kB / 0.6294 GB, free: 1.449 MB / 0.5886 GB Notification: Performance of SimCode: time 1.603e-06/0.01116, allocations: 0 / 0.6294 GB, free: 1.449 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02152/0.03268, allocations: 2.171 MB / 0.6315 GB, free: 15.44 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.932/6.965, allocations: 7.062 kB / 0.6315 GB, free: 15.44 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.862452284432948] Failed to read output from testmodel.py, exit status != 0: 7.04567117895931 7.055138301 7.046852093 Calling exit ...