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.001371/0.001371, 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.001185/0.001185, allocations: 209.7 kB / 22.24 MB, free: 3.57 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 0.9985/0.9985, allocations: 230.6 MB / 256 MB, free: 9.602 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.7673/0.7673, 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.0009262/0.0009262, allocations: 68.27 kB / 0.7182 GB, free: 3.977 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4749/0.4759, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01318/0.4891, allocations: 11.96 MB / 0.8295 GB, free: 9.254 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002153/0.4912, allocations: 2.4 MB / 0.8319 GB, free: 7.664 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.993e-05/0.4913, allocations: 5 kB / 0.8319 GB, free: 7.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003322/0.4916, allocations: 51.45 kB / 0.8319 GB, free: 7.633 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002576/0.4919, allocations: 98.56 kB / 0.832 GB, free: 7.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008645/0.4927, allocations: 0.5247 MB / 0.8325 GB, free: 7.297 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002944/0.493, allocations: 236.4 kB / 0.8328 GB, free: 7.195 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.862e-05/0.4931, allocations: 11.52 kB / 0.8328 GB, free: 7.191 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007861/0.501, allocations: 3.582 MB / 0.8363 GB, free: 5.758 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.5011, allocations: 90.34 kB / 0.8364 GB, free: 5.723 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.5011, allocations: 8.125 kB / 0.8364 GB, free: 5.723 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002096/0.5032, allocations: 1.03 MB / 0.8374 GB, free: 5.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.927e-05/0.5033, allocations: 41.58 kB / 0.8374 GB, free: 5.289 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.269e-05/0.5034, allocations: 76.61 kB / 0.8375 GB, free: 5.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005437/0.5039, allocations: 366.5 kB / 0.8378 GB, free: 5.051 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.5039, allocations: 0 / 0.8378 GB, free: 5.051 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5039, allocations: 3.938 kB / 0.8378 GB, free: 5.047 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.5039, allocations: 0 / 0.8378 GB, free: 5.047 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.0007244/0.5047, allocations: 440.7 kB / 0.8383 GB, free: 4.664 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.5047, allocations: 9.438 kB / 0.8383 GB, free: 4.664 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.215e-05/0.5048, allocations: 53.27 kB / 0.8383 GB, free: 4.609 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.5049, allocations: 29.27 kB / 0.8383 GB, free: 4.594 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.5052, allocations: 165.2 kB / 0.8385 GB, free: 4.422 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.5052, allocations: 11.64 kB / 0.8385 GB, free: 4.418 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.5052, allocations: 13.75 kB / 0.8385 GB, free: 4.414 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004035/0.5056, allocations: 494.7 kB / 0.839 GB, free: 3.953 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.5056, allocations: 0.9688 kB / 0.839 GB, free: 3.953 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.5056, allocations: 11.28 kB / 0.839 GB, free: 3.945 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.002e-05/0.5057, allocations: 12.53 kB / 0.839 GB, free: 3.938 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003937/0.506, allocations: 418.1 kB / 0.8394 GB, free: 3.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.5071, allocations: 0.8248 MB / 0.8402 GB, free: 2.984 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/0.5073, allocations: 156 kB / 0.8404 GB, free: 2.906 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.807e-05/0.5074, allocations: 56.59 kB / 0.8404 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005359/0.508, allocations: 460.7 kB / 0.8409 GB, free: 2.504 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.508, allocations: 34.03 kB / 0.8409 GB, free: 2.465 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 9.82e-07/0.508, allocations: 0 / 0.8409 GB, free: 2.465 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0002922/0.5083, allocations: 155.2 kB / 0.841 GB, free: 2.375 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.5083, allocations: 57.84 kB / 0.8411 GB, free: 2.309 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.5084, allocations: 178.9 kB / 0.8413 GB, free: 2.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.5085, allocations: 27.95 kB / 0.8413 GB, free: 2.129 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.03e-05/0.5085, allocations: 143.2 kB / 0.8414 GB, free: 1.992 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.5086, allocations: 58.48 kB / 0.8415 GB, free: 1.941 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.553e-05/0.5086, allocations: 53.38 kB / 0.8415 GB, free: 1.902 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.295e-05/0.5087, allocations: 322.2 kB / 0.8418 GB, free: 1.582 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.605e-05/0.5088, allocations: 37.78 kB / 0.8419 GB, free: 1.566 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.5089, allocations: 142.1 kB / 0.842 GB, free: 1.414 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.509, allocations: 196.8 kB / 0.8422 GB, free: 1.234 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.509, allocations: 1.062 kB / 0.8422 GB, free: 1.234 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000252/0.5093, allocations: 218.3 kB / 0.8424 GB, free: 1.117 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.5093, allocations: 5.969 kB / 0.8424 GB, free: 1.117 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.5093, allocations: 8.125 kB / 0.8424 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.5093, allocations: 13.38 kB / 0.8424 GB, free: 1.105 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.5095, allocations: 57.28 kB / 0.8425 GB, free: 1.094 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.5095, allocations: 4.125 kB / 0.8425 GB, free: 1.094 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.603e-05/0.5095, allocations: 25.47 kB / 0.8425 GB, free: 1.078 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.5096, allocations: 13.62 kB / 0.8425 GB, free: 1.074 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 7.785e-05/0.5096, allocations: 131.3 kB / 0.8427 GB, free: 0.9453 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.5097, allocations: 20.09 kB / 0.8427 GB, free: 0.9336 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.5099, allocations: 161.3 kB / 0.8428 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.5099, allocations: 6.188 kB / 0.8428 GB, free: 0.8281 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.5099, allocations: 7.938 kB / 0.8429 GB, free: 0.8203 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.5099, allocations: 0 / 0.8429 GB, free: 0.8203 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.5101, allocations: 182.1 kB / 0.843 GB, free: 0.6289 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5101, allocations: 0 / 0.843 GB, free: 0.6289 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.429e-05/0.5101, allocations: 30.95 kB / 0.8431 GB, free: 0.6211 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5101, allocations: 1.125 kB / 0.8431 GB, free: 0.6211 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.5101, allocations: 6.344 kB / 0.8431 GB, free: 0.6172 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.5102, allocations: 5.094 kB / 0.8431 GB, free: 0.6133 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5102, allocations: 0 / 0.8431 GB, free: 0.6133 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.5103, allocations: 220 kB / 0.8433 GB, free: 452 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.648e-05/0.5104, allocations: 46.17 kB / 0.8433 GB, free: 416 kB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.5104, allocations: 1 kB / 0.8433 GB, free: 416 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.5105, allocations: 19.83 kB / 0.8433 GB, free: 404 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.701e-05/0.5105, allocations: 7.766 kB / 0.8433 GB, free: 400 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.5105, allocations: 14.45 kB / 0.8434 GB, free: 392 kB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.14e-05/0.5106, allocations: 116.4 kB / 0.8435 GB, free: 300 kB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5106, allocations: 0 / 0.8435 GB, free: 300 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002721/0.5109, allocations: 78.69 kB / 0.8435 GB, free: 280 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.0005614/0.5114, allocations: 0.8378 MB / 0.8444 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001879/0.5116, allocations: 117 kB / 0.8445 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5116, allocations: 5.375 kB / 0.8445 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.316e-05/0.5117, allocations: 37.27 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.0002969/0.512, allocations: 61.2 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.001635/0.5136, allocations: 2.043 MB / 0.8466 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.057e-05/0.5137, allocations: 107.1 kB / 0.8467 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001188/0.5138, allocations: 52.42 kB / 0.8467 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.858e-05/0.5138, allocations: 48.69 kB / 0.8468 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of SimCode: time 5.11e-07/0.5138, allocations: 1 kB / 0.8468 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01983/0.5337, allocations: 6.315 MB / 0.8529 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.048/7.582, allocations: 8.344 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.487720223143697] Failed to read output from testmodel.py, exit status != 0: 7.664525198750198 7.676148663 7.169034293 Calling exit ...