Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.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.0008124/0.0008124, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0009067/0.0009067, allocations: 209.2 kB / 22.24 MB, free: 3.59 MB / 13.93 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 1.046/1.046, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.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.7961/0.7961, allocations: 203.8 MB / 0.5042 GB, free: 10.44 MB / 410.7 MB " [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.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 61.84 kB / 0.7182 GB, free: 4 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5449/0.5461, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01288/0.5589, allocations: 11.97 MB / 0.8295 GB, free: 9.273 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002236/0.5612, allocations: 2.408 MB / 0.8319 GB, free: 7.676 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.5613, allocations: 5.094 kB / 0.8319 GB, free: 7.672 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003174/0.5616, allocations: 42.41 kB / 0.8319 GB, free: 7.652 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002832/0.5619, allocations: 99.36 kB / 0.832 GB, free: 7.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.5633, allocations: 0.5348 MB / 0.8325 GB, free: 7.305 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004094/0.5637, allocations: 227.9 kB / 0.8328 GB, free: 7.211 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.816e-05/0.5637, allocations: 7.891 kB / 0.8328 GB, free: 7.211 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009571/0.5733, allocations: 3.588 MB / 0.8363 GB, free: 5.773 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002438/0.5735, allocations: 93.58 kB / 0.8364 GB, free: 5.734 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.893e-05/0.5736, allocations: 11.88 kB / 0.8364 GB, free: 5.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002502/0.5761, allocations: 1.027 MB / 0.8374 GB, free: 5.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.525e-05/0.5762, allocations: 38.11 kB / 0.8374 GB, free: 5.293 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.5763, allocations: 72.73 kB / 0.8375 GB, free: 5.258 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000801/0.5771, allocations: 370.1 kB / 0.8378 GB, free: 5.055 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.5771, allocations: 0 / 0.8378 GB, free: 5.055 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.076e-06/0.5771, allocations: 3.938 kB / 0.8378 GB, free: 5.051 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.244e-05/0.5771, allocations: 1.344 kB / 0.8378 GB, free: 5.051 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009651/0.5781, allocations: 443 kB / 0.8383 GB, free: 4.664 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/0.5781, allocations: 10.06 kB / 0.8383 GB, free: 4.664 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.073e-05/0.5782, allocations: 52.36 kB / 0.8383 GB, free: 4.609 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.5784, allocations: 22.19 kB / 0.8383 GB, free: 4.602 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/0.5787, allocations: 164.5 kB / 0.8385 GB, free: 4.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.5787, allocations: 11.39 kB / 0.8385 GB, free: 4.426 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.5787, allocations: 18 kB / 0.8385 GB, free: 4.418 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004735/0.5792, allocations: 499 kB / 0.839 GB, free: 3.953 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.5792, allocations: 1.062 kB / 0.839 GB, free: 3.953 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.5793, allocations: 7.5 kB / 0.839 GB, free: 3.949 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.773e-05/0.5793, allocations: 5.438 kB / 0.839 GB, free: 3.949 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004066/0.5797, allocations: 422.3 kB / 0.8394 GB, free: 3.758 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008604/0.5806, allocations: 0.8201 MB / 0.8402 GB, free: 2.996 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000285/0.5808, allocations: 159.2 kB / 0.8404 GB, free: 2.914 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.86e-05/0.5809, allocations: 52.66 kB / 0.8404 GB, free: 2.887 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006096/0.5815, allocations: 461.3 kB / 0.8409 GB, free: 2.516 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.5816, allocations: 37.75 kB / 0.8409 GB, free: 2.473 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 2.765e-06/0.5816, allocations: 4 kB / 0.8409 GB, free: 2.469 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0003578/0.5819, allocations: 150.9 kB / 0.841 GB, free: 2.383 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.582, allocations: 53.66 kB / 0.8411 GB, free: 2.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.5821, allocations: 179.3 kB / 0.8413 GB, free: 2.172 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.5821, allocations: 32.05 kB / 0.8413 GB, free: 2.137 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.896e-05/0.5822, allocations: 140 kB / 0.8414 GB, free: 2.004 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.5823, allocations: 57.86 kB / 0.8415 GB, free: 1.953 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.486e-05/0.5823, allocations: 52.91 kB / 0.8415 GB, free: 1.914 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.56e-05/0.5824, allocations: 327.2 kB / 0.8418 GB, free: 1.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.976e-05/0.5825, allocations: 37.69 kB / 0.8419 GB, free: 1.574 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.5826, allocations: 141.2 kB / 0.842 GB, free: 1.422 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.5828, allocations: 192.8 kB / 0.8422 GB, free: 1.246 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.5828, allocations: 5.141 kB / 0.8422 GB, free: 1.242 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002819/0.5831, allocations: 217.8 kB / 0.8424 GB, free: 1.125 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.5831, allocations: 6.875 kB / 0.8424 GB, free: 1.125 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.5831, allocations: 4.125 kB / 0.8424 GB, free: 1.125 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.5831, allocations: 9.438 kB / 0.8424 GB, free: 1.121 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.5832, allocations: 63.84 kB / 0.8425 GB, free: 1.102 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.5832, allocations: 5.5 kB / 0.8425 GB, free: 1.102 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.275e-05/0.5833, allocations: 28.03 kB / 0.8425 GB, free: 1.082 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.5833, allocations: 11 kB / 0.8425 GB, free: 1.082 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 9.736e-05/0.5834, allocations: 135.3 kB / 0.8427 GB, free: 0.9492 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.5e-05/0.5835, allocations: 24.06 kB / 0.8427 GB, free: 0.9336 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002751/0.5837, allocations: 161.1 kB / 0.8428 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.5837, allocations: 6.281 kB / 0.8429 GB, free: 0.8281 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.5838, allocations: 0 / 0.8429 GB, free: 0.8281 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.5838, allocations: 1.219 kB / 0.8429 GB, free: 0.8281 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.584, allocations: 185.5 kB / 0.843 GB, free: 0.6328 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.584, allocations: 0 / 0.843 GB, free: 0.6328 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.97e-05/0.584, allocations: 27.48 kB / 0.8431 GB, free: 0.6289 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.584, allocations: 0 / 0.8431 GB, free: 0.6289 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.584, allocations: 7.062 kB / 0.8431 GB, free: 0.625 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.5841, allocations: 3.938 kB / 0.8431 GB, free: 0.6211 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.5841, allocations: 9.094 kB / 0.8431 GB, free: 0.6133 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.5843, allocations: 220.6 kB / 0.8433 GB, free: 452 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.522e-05/0.5843, allocations: 37.11 kB / 0.8433 GB, free: 424 kB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.5843, allocations: 1.281 kB / 0.8433 GB, free: 424 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.5845, allocations: 19.27 kB / 0.8433 GB, free: 412 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.102e-05/0.5845, allocations: 8.672 kB / 0.8433 GB, free: 408 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.5845, allocations: 14.61 kB / 0.8434 GB, free: 400 kB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.602e-05/0.5846, allocations: 119 kB / 0.8435 GB, free: 304 kB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5846, allocations: 0 / 0.8435 GB, free: 304 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003295/0.5849, allocations: 79.8 kB / 0.8436 GB, free: 284 kB / 0.6198 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0007172/0.5856, allocations: 0.8391 MB / 0.8444 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002364/0.5858, allocations: 120.1 kB / 0.8445 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.5858, allocations: 1.406 kB / 0.8445 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.673e-05/0.5859, allocations: 41.58 kB / 0.8445 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.5862, allocations: 55.88 kB / 0.8446 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.5879, allocations: 2.044 MB / 0.8466 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.206e-05/0.588, allocations: 103.3 kB / 0.8467 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001406/0.5882, allocations: 52.02 kB / 0.8467 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.586e-05/0.5882, allocations: 45.73 kB / 0.8468 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of SimCode: time 8.42e-07/0.5882, allocations: 0 / 0.8468 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02241/0.6106, allocations: 6.319 MB / 0.8529 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.846/7.457, allocations: 8.469 kB / 0.8529 GB, free: 10.07 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.635636030230671] Failed to read output from testmodel.py, exit status != 0: 7.538627614732832 7.550700023 6.971184581 Calling exit ...