Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterProperties.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.0008297/0.0008297, allocations: 105.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.000964/0.000964, allocations: 208.1 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 0.9952/0.9952, allocations: 230.6 MB / 256 MB, free: 9.625 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.8005/0.8005, allocations: 203.8 MB / 0.5042 GB, free: 10.48 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.Examples.WaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterProperties",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.0009811/0.0009811, allocations: 67.72 kB / 0.7182 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5687/0.5697, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.00474/0.5745, allocations: 4.51 MB / 0.8222 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001923/0.5764, allocations: 2.462 MB / 0.8246 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.234e-05/0.5765, allocations: 1.125 kB / 0.8246 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002752/0.5767, allocations: 42.42 kB / 0.8247 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000243/0.577, allocations: 102.7 kB / 0.8248 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009614/0.5779, allocations: 0.5226 MB / 0.8253 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.5782, allocations: 228.2 kB / 0.8255 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.707e-05/0.5782, allocations: 7.547 kB / 0.8255 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.5784, allocations: 125.7 kB / 0.8256 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.5785, allocations: 85.89 kB / 0.8257 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.5785, allocations: 12.47 kB / 0.8257 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004753/0.579, allocations: 313.2 kB / 0.826 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.503e-05/0.5791, allocations: 42.81 kB / 0.8261 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.8e-05/0.5791, allocations: 70.5 kB / 0.8261 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000453/0.5796, allocations: 364.3 kB / 0.8265 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.5796, allocations: 0 / 0.8265 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5796, allocations: 0 / 0.8265 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.5796, allocations: 3.812 kB / 0.8265 GB, free: 11.44 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.0009737/0.5806, allocations: 432.5 kB / 0.8269 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.5806, allocations: 12.5 kB / 0.8269 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.018e-05/0.5807, allocations: 55.97 kB / 0.827 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.5808, allocations: 20.8 kB / 0.827 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.5811, allocations: 157 kB / 0.8271 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.5811, allocations: 20.7 kB / 0.8271 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.5812, allocations: 12.47 kB / 0.8272 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004536/0.5816, allocations: 491.4 kB / 0.8276 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.5816, allocations: 0.7969 kB / 0.8276 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.5816, allocations: 6.781 kB / 0.8276 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.108e-05/0.5817, allocations: 6.125 kB / 0.8276 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000498/0.5822, allocations: 422.5 kB / 0.828 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000888/0.5831, allocations: 0.813 MB / 0.8288 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.5833, allocations: 161.1 kB / 0.829 GB, free: 9.598 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.33e-05/0.5834, allocations: 50.62 kB / 0.829 GB, free: 9.578 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000634/0.584, allocations: 461.1 kB / 0.8295 GB, free: 9.254 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.5841, allocations: 41.64 kB / 0.8295 GB, free: 9.207 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.5841, allocations: 4 kB / 0.8295 GB, free: 9.203 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0003345/0.5844, allocations: 153.2 kB / 0.8297 GB, free: 9.129 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.5844, allocations: 53.28 kB / 0.8297 GB, free: 9.066 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.5846, allocations: 176.5 kB / 0.8299 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.5847, allocations: 32.08 kB / 0.8299 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.5848, allocations: 146.3 kB / 0.8301 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.5848, allocations: 52.05 kB / 0.8301 GB, free: 8.727 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.195e-05/0.5849, allocations: 52.42 kB / 0.8302 GB, free: 8.691 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.585, allocations: 326.9 kB / 0.8305 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.99e-05/0.5851, allocations: 36.39 kB / 0.8305 GB, free: 8.363 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.5852, allocations: 154.7 kB / 0.8307 GB, free: 8.207 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.5854, allocations: 196.5 kB / 0.8308 GB, free: 8.031 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.5854, allocations: 1.312 kB / 0.8308 GB, free: 8.031 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002991/0.5857, allocations: 220.4 kB / 0.831 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.955e-05/0.5858, allocations: 6.281 kB / 0.8311 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.5858, allocations: 3.938 kB / 0.8311 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.738e-05/0.5858, allocations: 9.75 kB / 0.8311 GB, free: 7.926 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.586, allocations: 59.41 kB / 0.8311 GB, free: 7.918 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.586, allocations: 5.422 kB / 0.8311 GB, free: 7.918 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.564e-05/0.586, allocations: 25.19 kB / 0.8312 GB, free: 7.902 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.5861, allocations: 14.72 kB / 0.8312 GB, free: 7.898 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 0.0001012/0.5862, allocations: 132.6 kB / 0.8313 GB, free: 7.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.5862, allocations: 20.73 kB / 0.8313 GB, free: 7.758 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002831/0.5865, allocations: 154.8 kB / 0.8315 GB, free: 7.672 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.5865, allocations: 6.094 kB / 0.8315 GB, free: 7.668 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.5865, allocations: 4 kB / 0.8315 GB, free: 7.664 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.5865, allocations: 2.078 kB / 0.8315 GB, free: 7.664 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.5867, allocations: 179.4 kB / 0.8316 GB, free: 7.484 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.5867, allocations: 0.5625 kB / 0.8316 GB, free: 7.484 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.509e-05/0.5868, allocations: 27.25 kB / 0.8317 GB, free: 7.484 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.5868, allocations: 4.969 kB / 0.8317 GB, free: 7.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.5868, allocations: 10.69 kB / 0.8317 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.5868, allocations: 8.469 kB / 0.8317 GB, free: 7.465 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5868, allocations: 0.5 kB / 0.8317 GB, free: 7.465 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.5871, allocations: 230.8 kB / 0.8319 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.721e-05/0.5871, allocations: 34.31 kB / 0.8319 GB, free: 7.277 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.5872, allocations: 1.953 kB / 0.8319 GB, free: 7.277 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.5873, allocations: 19.06 kB / 0.832 GB, free: 7.27 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.467e-05/0.5873, allocations: 9.156 kB / 0.832 GB, free: 7.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.5873, allocations: 13.02 kB / 0.832 GB, free: 7.266 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.005e-05/0.5874, allocations: 120.6 kB / 0.8321 GB, free: 7.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5874, allocations: 0 / 0.8321 GB, free: 7.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003742/0.5878, allocations: 80.84 kB / 0.8322 GB, free: 7.16 MB / 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.0007502/0.5885, allocations: 0.8238 MB / 0.833 GB, free: 6.445 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002618/0.5888, allocations: 116.7 kB / 0.8331 GB, free: 6.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5888, allocations: 1.031 kB / 0.8331 GB, free: 6.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.746e-05/0.5889, allocations: 47.2 kB / 0.8331 GB, free: 6.395 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.5892, allocations: 53.36 kB / 0.8332 GB, free: 6.375 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.5911, allocations: 2.038 MB / 0.8352 GB, free: 4.703 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.875e-05/0.5912, allocations: 111 kB / 0.8353 GB, free: 4.613 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001434/0.5914, allocations: 45.44 kB / 0.8353 GB, free: 4.598 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.937e-05/0.5914, allocations: 44.84 kB / 0.8354 GB, free: 4.57 MB / 0.6198 GB Notification: Performance of SimCode: time 7.21e-07/0.5914, allocations: 0 / 0.8354 GB, free: 4.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/0.6132, allocations: 6.088 MB / 0.8413 GB, free: 2.516 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.635/7.249, allocations: 13.53 kB / 0.8413 GB, free: 2.512 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_WaterProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.292762538883835] Failed to read output from testmodel.py, exit status != 0: 7.32947090594098 7.339381941 6.757842113 Calling exit ...