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.0009489/0.0009489, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001017/0.001017, allocations: 181 kB / 23.36 MB, free: 1.133 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.8927/0.8927, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.8077/0.8077, allocations: 154.9 MB / 415.1 MB, free: 216 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.423e-06/1.423e-06, allocations: 0 / 480.4 MB, free: 6.523 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.776e-05/1.919e-05, allocations: 3.578 kB / 480.4 MB, free: 6.52 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.004903/0.004922, allocations: 4.86 MB / 485.3 MB, free: 1.703 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002092/0.007014, allocations: 2.849 MB / 488.1 MB, free: 14.86 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.682e-05/0.007091, allocations: 0 / 488.1 MB, free: 14.86 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002411/0.007332, allocations: 56.67 kB / 488.2 MB, free: 14.81 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.007554, allocations: 105.2 kB / 488.3 MB, free: 14.71 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.008591, allocations: 0.5756 MB / 488.8 MB, free: 14.13 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.008814, allocations: 249.7 kB / 489.1 MB, free: 13.89 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.626e-05/0.008851, allocations: 6.469 kB / 489.1 MB, free: 13.88 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.00904, allocations: 167.5 kB / 489.2 MB, free: 13.72 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.009143, allocations: 71.78 kB / 489.3 MB, free: 13.65 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.367e-05/0.009197, allocations: 8.656 kB / 489.3 MB, free: 13.64 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004582/0.009655, allocations: 331.1 kB / 489.6 MB, free: 13.32 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 6.441e-05/0.009719, allocations: 40.52 kB / 489.7 MB, free: 13.28 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 5.792e-05/0.009777, allocations: 67.89 kB / 489.8 MB, free: 13.21 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005026/0.01028, allocations: 363.5 kB / 490.1 MB, free: 12.86 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.01029, allocations: 0 / 490.1 MB, free: 12.86 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.01029, allocations: 1.344 kB / 490.1 MB, free: 12.86 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.01029, allocations: 0 / 490.1 MB, free: 12.86 MB / 458.7 MB 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.0006629/0.01095, allocations: 424.6 kB / 490.5 MB, free: 12.41 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.01099, allocations: 12.03 kB / 490.5 MB, free: 12.4 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.01113, allocations: 38.28 kB / 490.6 MB, free: 12.37 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005051/0.01164, allocations: 157.5 kB / 490.7 MB, free: 12.19 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.01165, allocations: 8.703 kB / 490.7 MB, free: 12.18 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.01168, allocations: 21.22 kB / 490.8 MB, free: 12.16 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.01195, allocations: 408.6 kB / 491.2 MB, free: 11.69 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.01196, allocations: 0.75 kB / 491.2 MB, free: 11.69 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.01198, allocations: 12.12 kB / 491.2 MB, free: 11.68 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.062e-05/0.01201, allocations: 9.016 kB / 491.2 MB, free: 11.67 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000195/0.01221, allocations: 243.1 kB / 491.4 MB, free: 11.43 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006109/0.01282, allocations: 0.687 MB / 492.1 MB, free: 10.71 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.01298, allocations: 161.5 kB / 492.3 MB, free: 10.55 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.818e-05/0.01301, allocations: 34.81 kB / 492.3 MB, free: 10.51 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005478/0.01356, allocations: 474 kB / 492.8 MB, free: 10.04 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.01358, allocations: 38.56 kB / 492.8 MB, free: 9.988 MB / 458.7 MB Notification: Performance of pre-optimization done (n=15): time 9.82e-07/0.01358, allocations: 0.5938 kB / 492.8 MB, free: 9.988 MB / 458.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001487/0.01373, allocations: 131.3 kB / 492.9 MB, free: 9.855 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.01376, allocations: 63.28 kB / 493 MB, free: 9.781 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.581e-05/0.01384, allocations: 159.1 kB / 493.1 MB, free: 9.613 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.01385, allocations: 29.7 kB / 493.2 MB, free: 9.578 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.51e-05/0.01391, allocations: 148 kB / 493.3 MB, free: 9.43 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.01393, allocations: 56.36 kB / 493.4 MB, free: 9.375 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/0.01397, allocations: 57.62 kB / 493.4 MB, free: 9.312 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.781e-05/0.01404, allocations: 324.2 kB / 493.7 MB, free: 8.988 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.62e-05/0.01407, allocations: 30.06 kB / 493.8 MB, free: 8.961 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.161e-05/0.01413, allocations: 117.7 kB / 493.9 MB, free: 8.797 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.01425, allocations: 190.5 kB / 494.1 MB, free: 8.566 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01425, allocations: 0.9062 kB / 494.1 MB, free: 8.566 MB / 458.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001467/0.0144, allocations: 159.4 kB / 494.2 MB, free: 8.406 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.01441, allocations: 4 kB / 494.2 MB, free: 8.402 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.01442, allocations: 7.938 kB / 494.2 MB, free: 8.395 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.01443, allocations: 4.781 kB / 494.2 MB, free: 8.391 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.01454, allocations: 60.78 kB / 494.3 MB, free: 8.332 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.01455, allocations: 11.98 kB / 494.3 MB, free: 8.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.499e-05/0.0146, allocations: 27.72 kB / 494.3 MB, free: 8.293 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.01461, allocations: 16.73 kB / 494.4 MB, free: 8.277 MB / 458.7 MB 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 6.765e-05/0.01468, allocations: 134 kB / 494.5 MB, free: 8.137 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.01471, allocations: 15.98 kB / 494.5 MB, free: 8.121 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001403/0.01485, allocations: 106.4 kB / 494.6 MB, free: 8.008 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.01485, allocations: 4 kB / 494.6 MB, free: 8.004 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.01486, allocations: 1.406 kB / 494.6 MB, free: 8.004 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.01486, allocations: 0 / 494.6 MB, free: 8.004 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.01498, allocations: 113.7 kB / 494.7 MB, free: 7.875 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01498, allocations: 3.938 kB / 494.7 MB, free: 7.871 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-05/0.01503, allocations: 34.62 kB / 494.8 MB, free: 7.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.01503, allocations: 0 / 494.8 MB, free: 7.84 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.01504, allocations: 1.125 kB / 494.8 MB, free: 7.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.01504, allocations: 4 kB / 494.8 MB, free: 7.836 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01504, allocations: 0 / 494.8 MB, free: 7.836 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.01516, allocations: 225.5 kB / 495 MB, free: 7.602 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/0.0152, allocations: 35.78 kB / 495 MB, free: 7.566 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.01521, allocations: 1.781 kB / 495 MB, free: 7.566 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.336e-05/0.01528, allocations: 12 kB / 495 MB, free: 7.555 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.617e-05/0.0153, allocations: 11.97 kB / 495.1 MB, free: 7.543 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.01531, allocations: 12 kB / 495.1 MB, free: 7.531 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.589e-05/0.01533, allocations: 46.14 kB / 495.1 MB, free: 7.488 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01533, allocations: 0 / 495.1 MB, free: 7.488 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000222/0.01556, allocations: 75.83 kB / 495.2 MB, free: 7.414 MB / 458.7 MB 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.0002122/0.01577, allocations: 161.2 kB / 495.3 MB, free: 7.254 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001138/0.01588, allocations: 102.5 kB / 495.4 MB, free: 7.152 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.01589, allocations: 0 / 495.4 MB, free: 7.152 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.669e-05/0.01592, allocations: 39.17 kB / 495.5 MB, free: 7.113 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.0161, allocations: 41.81 kB / 495.5 MB, free: 7.074 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006052/0.01671, allocations: 332.2 kB / 495.8 MB, free: 6.727 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.01693, allocations: 71.23 kB / 495.9 MB, free: 6.641 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.672e-05/0.01702, allocations: 46.58 kB / 496 MB, free: 6.602 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.01716, allocations: 121.2 kB / 496.1 MB, free: 6.48 MB / 458.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01716, allocations: 0 / 496.1 MB, free: 6.48 MB / 458.7 MB Notification: Performance of Templates: time 0.004668/0.02182, allocations: 3.434 MB / 499.5 MB, free: 3.367 MB / 458.7 MB " [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.586470392998308]