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.0009942/0.0009942, allocations: 85.17 kB / 19.87 MB, free: 4.617 MB / 18.57 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.0009532/0.0009532, allocations: 169 kB / 23.27 MB, free: 1.223 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.9902/0.9902, allocations: 177.1 MB / 203.7 MB, free: 5.484 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-535:34: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-535:42: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.798/0.798, allocations: 154.9 MB / 415.1 MB, free: 240 kB / 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: translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.5211 GB, free: 1.48 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.501e-05, allocations: 4.281 kB / 0.5211 GB, free: 1.477 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.004776/0.004801, allocations: 4.824 MB / 0.5259 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002016/0.006817, allocations: 2.821 MB / 0.5286 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.944e-05/0.006907, allocations: 1.812 kB / 0.5286 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002287/0.007135, allocations: 47.62 kB / 0.5287 GB, free: 9.785 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002226/0.007358, allocations: 105.5 kB / 0.5288 GB, free: 9.684 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.00842, allocations: 0.564 MB / 0.5293 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.00867, allocations: 247.8 kB / 0.5296 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.746e-05/0.008707, allocations: 6.75 kB / 0.5296 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001991/0.008906, allocations: 163.6 kB / 0.5297 GB, free: 8.711 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.009013, allocations: 76.7 kB / 0.5298 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.009034, allocations: 8 kB / 0.5298 GB, free: 8.629 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004795/0.009514, allocations: 331.8 kB / 0.5301 GB, free: 8.305 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.638e-05/0.00958, allocations: 47.81 kB / 0.5302 GB, free: 8.258 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.401e-05/0.009634, allocations: 58.03 kB / 0.5302 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004187/0.01005, allocations: 362.8 kB / 0.5306 GB, free: 7.848 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.01006, allocations: 0 / 0.5306 GB, free: 7.848 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.62e-07/0.01006, allocations: 0 / 0.5306 GB, free: 7.848 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.01006, allocations: 0 / 0.5306 GB, free: 7.848 MB / 0.4948 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.0005562/0.01062, allocations: 0.5393 MB / 0.5311 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.01065, allocations: 8.031 kB / 0.5311 GB, free: 7.262 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.01079, allocations: 45.53 kB / 0.5311 GB, free: 7.219 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.01094, allocations: 161 kB / 0.5313 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.01096, allocations: 16.64 kB / 0.5313 GB, free: 7.02 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.01098, allocations: 17.22 kB / 0.5313 GB, free: 7.004 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.01123, allocations: 422.1 kB / 0.5317 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.01124, allocations: 6.891 kB / 0.5317 GB, free: 6.508 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.01126, allocations: 12.12 kB / 0.5317 GB, free: 6.496 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.782e-05/0.01128, allocations: 8 kB / 0.5317 GB, free: 6.488 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.01147, allocations: 251.5 kB / 0.532 GB, free: 6.242 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006907/0.01216, allocations: 0.9718 MB / 0.5329 GB, free: 5.223 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.01232, allocations: 127.1 kB / 0.5331 GB, free: 5.086 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.793e-05/0.01236, allocations: 35.72 kB / 0.5331 GB, free: 5.047 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004623/0.01282, allocations: 0.5494 MB / 0.5336 GB, free: 4.48 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.01285, allocations: 41.39 kB / 0.5337 GB, free: 4.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.01285, allocations: 1.188 kB / 0.5337 GB, free: 4.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0001858/0.01304, allocations: 119.3 kB / 0.5338 GB, free: 4.309 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.227e-05/0.01306, allocations: 55.41 kB / 0.5338 GB, free: 4.242 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.322e-05/0.01315, allocations: 218.2 kB / 0.534 GB, free: 4.016 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.01317, allocations: 33.7 kB / 0.5341 GB, free: 3.977 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.06e-05/0.01324, allocations: 190.8 kB / 0.5343 GB, free: 3.785 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.01326, allocations: 60.45 kB / 0.5343 GB, free: 3.727 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/0.01331, allocations: 51.34 kB / 0.5344 GB, free: 3.668 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.01343, allocations: 0.5 MB / 0.5349 GB, free: 3.156 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.796e-05/0.01345, allocations: 24.69 kB / 0.5349 GB, free: 3.133 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.827e-05/0.01354, allocations: 170.9 kB / 0.535 GB, free: 2.898 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.01368, allocations: 223.9 kB / 0.5353 GB, free: 2.621 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.01368, allocations: 0 / 0.5353 GB, free: 2.621 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001866/0.01387, allocations: 200 kB / 0.5354 GB, free: 2.422 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.01388, allocations: 8 kB / 0.5355 GB, free: 2.414 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.01389, allocations: 4 kB / 0.5355 GB, free: 2.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.0139, allocations: 4 kB / 0.5355 GB, free: 2.406 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.01401, allocations: 63.88 kB / 0.5355 GB, free: 2.348 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.01401, allocations: 4 kB / 0.5355 GB, free: 2.344 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.72e-05/0.01407, allocations: 31.72 kB / 0.5356 GB, free: 2.312 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.01408, allocations: 12 kB / 0.5356 GB, free: 2.301 MB / 0.4948 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.921e-05/0.01416, allocations: 172.5 kB / 0.5357 GB, free: 2.121 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.01419, allocations: 19.91 kB / 0.5357 GB, free: 2.102 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001774/0.01437, allocations: 135.5 kB / 0.5359 GB, free: 1.965 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.01438, allocations: 0 / 0.5359 GB, free: 1.965 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.01438, allocations: 0 / 0.5359 GB, free: 1.965 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01438, allocations: 4.844 kB / 0.5359 GB, free: 1.961 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.01451, allocations: 141 kB / 0.536 GB, free: 1.797 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.01451, allocations: 0.5625 kB / 0.536 GB, free: 1.797 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.983e-05/0.01457, allocations: 39.91 kB / 0.5361 GB, free: 1.758 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.01458, allocations: 5.156 kB / 0.5361 GB, free: 1.754 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.01458, allocations: 7.984 kB / 0.5361 GB, free: 1.746 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.01458, allocations: 0 / 0.5361 GB, free: 1.746 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.01459, allocations: 0.6875 kB / 0.5361 GB, free: 1.746 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.01473, allocations: 253.8 kB / 0.5363 GB, free: 1.48 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.929e-05/0.01477, allocations: 32.44 kB / 0.5363 GB, free: 1.449 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.01478, allocations: 4.688 kB / 0.5363 GB, free: 1.445 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.004e-05/0.01486, allocations: 11.98 kB / 0.5364 GB, free: 1.434 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.645e-05/0.01488, allocations: 12.52 kB / 0.5364 GB, free: 1.422 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.01489, allocations: 9.5 kB / 0.5364 GB, free: 1.414 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.85e-05/0.01494, allocations: 150.4 kB / 0.5365 GB, free: 1.27 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.01494, allocations: 3.938 kB / 0.5365 GB, free: 1.266 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002562/0.0152, allocations: 79.86 kB / 0.5366 GB, free: 1.188 MB / 0.4948 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.0002392/0.01544, allocations: 184.6 kB / 0.5368 GB, free: 1.004 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001367/0.01557, allocations: 102.1 kB / 0.5369 GB, free: 0.9023 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.01558, allocations: 0 / 0.5369 GB, free: 0.9023 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.929e-05/0.01562, allocations: 47.59 kB / 0.5369 GB, free: 0.8516 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.01586, allocations: 43.95 kB / 0.537 GB, free: 0.8125 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000646/0.0165, allocations: 315.8 kB / 0.5373 GB, free: 492 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.477e-05/0.01655, allocations: 70.81 kB / 0.5373 GB, free: 404 kB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000102/0.01665, allocations: 44.14 kB / 0.5374 GB, free: 360 kB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/0.01682, allocations: 158.1 kB / 0.5375 GB, free: 200 kB / 0.4948 GB Notification: Performance of SimCode: time 8.02e-07/0.01682, allocations: 4.438 kB / 0.5375 GB, free: 196 kB / 0.4948 GB Notification: Performance of Templates: time 0.005013/0.02183, allocations: 3.434 MB / 0.5409 GB, free: 12.92 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7194851520471275]