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.001131/0.001131, allocations: 105.9 kB / 18.93 MB, free: 1.27 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.0009608/0.0009608, allocations: 218.2 kB / 22.25 MB, free: 3.703 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.028/1.028, allocations: 230.6 MB / 256 MB, free: 9.809 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.7926/0.7926, allocations: 203.8 MB / 0.5042 GB, free: 10.74 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.0009099/0.0009099, allocations: 66.19 kB / 0.7183 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5373/0.5382, allocations: 102 MB / 0.8179 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.005058/0.5433, allocations: 4.854 MB / 0.8226 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002303/0.5456, allocations: 2.728 MB / 0.8253 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.5457, allocations: 1.156 kB / 0.8253 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003198/0.546, allocations: 50.75 kB / 0.8253 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002754/0.5463, allocations: 97 kB / 0.8254 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.5478, allocations: 0.5213 MB / 0.8259 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003721/0.5482, allocations: 235.1 kB / 0.8262 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.121e-05/0.5482, allocations: 12.86 kB / 0.8262 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002803/0.5485, allocations: 124.5 kB / 0.8263 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.5487, allocations: 90.36 kB / 0.8264 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.5487, allocations: 7.469 kB / 0.8264 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007927/0.5495, allocations: 387.2 kB / 0.8268 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.986e-05/0.5496, allocations: 40.06 kB / 0.8268 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.539e-05/0.5497, allocations: 80.86 kB / 0.8269 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006482/0.5503, allocations: 374.2 kB / 0.8272 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.5504, allocations: 0.6562 kB / 0.8272 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5504, allocations: 0 / 0.8272 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.5504, allocations: 6.344 kB / 0.8272 GB, free: 10.94 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.0007511/0.5511, allocations: 444.8 kB / 0.8277 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.5512, allocations: 9.156 kB / 0.8277 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.475e-05/0.5512, allocations: 53.27 kB / 0.8277 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.5514, allocations: 22.69 kB / 0.8277 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.5516, allocations: 151.8 kB / 0.8279 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.5516, allocations: 11.91 kB / 0.8279 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.5516, allocations: 18.34 kB / 0.8279 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003724/0.552, allocations: 262.4 kB / 0.8282 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.552, allocations: 1.188 kB / 0.8282 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.552, allocations: 10.81 kB / 0.8282 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.139e-05/0.5521, allocations: 5.797 kB / 0.8282 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004573/0.5525, allocations: 445.3 kB / 0.8286 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.5535, allocations: 0.9226 MB / 0.8295 GB, free: 9.316 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/0.5538, allocations: 160.6 kB / 0.8297 GB, free: 9.242 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.076e-05/0.5539, allocations: 56.05 kB / 0.8297 GB, free: 9.219 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006152/0.5545, allocations: 472.5 kB / 0.8302 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.5545, allocations: 37.19 kB / 0.8302 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.5545, allocations: 0 / 0.8302 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0002985/0.5548, allocations: 158 kB / 0.8304 GB, free: 8.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.5548, allocations: 57.23 kB / 0.8304 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.555, allocations: 171.7 kB / 0.8306 GB, free: 8.574 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.555, allocations: 32.58 kB / 0.8306 GB, free: 8.539 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.616e-05/0.5551, allocations: 148.7 kB / 0.8307 GB, free: 8.402 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.5551, allocations: 55.94 kB / 0.8308 GB, free: 8.359 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.712e-05/0.5552, allocations: 49.39 kB / 0.8308 GB, free: 8.328 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.5553, allocations: 326.3 kB / 0.8312 GB, free: 8.008 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.02e-05/0.5553, allocations: 34.86 kB / 0.8312 GB, free: 8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.5555, allocations: 149.2 kB / 0.8313 GB, free: 7.848 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.5556, allocations: 192.9 kB / 0.8315 GB, free: 7.672 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.5557, allocations: 6.188 kB / 0.8315 GB, free: 7.668 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002701/0.5559, allocations: 219.5 kB / 0.8317 GB, free: 7.566 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.5559, allocations: 5.969 kB / 0.8317 GB, free: 7.566 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.556, allocations: 5.422 kB / 0.8317 GB, free: 7.566 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.556, allocations: 12.66 kB / 0.8318 GB, free: 7.559 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.5561, allocations: 54.94 kB / 0.8318 GB, free: 7.551 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.5561, allocations: 6.609 kB / 0.8318 GB, free: 7.551 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.917e-05/0.5562, allocations: 23.73 kB / 0.8318 GB, free: 7.535 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.5562, allocations: 16.11 kB / 0.8319 GB, free: 7.531 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.725e-05/0.5563, allocations: 127 kB / 0.832 GB, free: 7.406 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.5564, allocations: 16.66 kB / 0.832 GB, free: 7.398 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.5566, allocations: 166.9 kB / 0.8322 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.5566, allocations: 11.17 kB / 0.8322 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.5567, allocations: 0 / 0.8322 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.5567, allocations: 0.6094 kB / 0.8322 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.5569, allocations: 183.4 kB / 0.8323 GB, free: 7.117 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.5569, allocations: 1.156 kB / 0.8323 GB, free: 7.117 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.337e-05/0.5569, allocations: 21.91 kB / 0.8324 GB, free: 7.117 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.5569, allocations: 1.062 kB / 0.8324 GB, free: 7.117 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.5569, allocations: 6.562 kB / 0.8324 GB, free: 7.113 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.5569, allocations: 4.938 kB / 0.8324 GB, free: 7.109 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.557, allocations: 4.656 kB / 0.8324 GB, free: 7.105 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.5572, allocations: 230.6 kB / 0.8326 GB, free: 6.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.417e-05/0.5573, allocations: 30.52 kB / 0.8326 GB, free: 6.918 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.5573, allocations: 5.5 kB / 0.8326 GB, free: 6.914 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.5574, allocations: 19.34 kB / 0.8326 GB, free: 6.906 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.513e-05/0.5574, allocations: 8.781 kB / 0.8327 GB, free: 6.906 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/0.5575, allocations: 12.81 kB / 0.8327 GB, free: 6.902 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.181e-05/0.5575, allocations: 120.1 kB / 0.8328 GB, free: 6.816 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5575, allocations: 4 kB / 0.8328 GB, free: 6.812 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003701/0.5579, allocations: 81.2 kB / 0.8329 GB, free: 6.793 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.0008359/0.5587, allocations: 0.8292 MB / 0.8337 GB, free: 6.074 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000297/0.559, allocations: 112.6 kB / 0.8338 GB, free: 6.043 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.559, allocations: 1.031 kB / 0.8338 GB, free: 6.043 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.35e-05/0.5591, allocations: 41.41 kB / 0.8338 GB, free: 6.031 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.5595, allocations: 55.59 kB / 0.8339 GB, free: 6.012 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.5614, allocations: 2.036 MB / 0.8359 GB, free: 4.324 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.5617, allocations: 0.7184 MB / 0.8366 GB, free: 3.621 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001757/0.5619, allocations: 53.7 kB / 0.8366 GB, free: 3.598 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.321e-05/0.562, allocations: 49.58 kB / 0.8367 GB, free: 3.566 MB / 0.6198 GB Notification: Performance of SimCode: time 8.52e-07/0.562, allocations: 0 / 0.8367 GB, free: 3.566 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02331/0.5853, allocations: 5.559 MB / 0.8421 GB, free: 2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.082/7.667, allocations: 10.55 kB / 0.8421 GB, free: 1.996 MB / 0.6198 GB " [Timeout remaining time 652] (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.748518876032904] Failed to read output from testmodel.py, exit status != 0: 7.746624208055437 7.757434679 7.204942669 Calling exit ...