Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001024/0.001024, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.000994/0.000994, allocations: 177 kB / 23.36 MB, free: 1.129 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.9494/0.9494, allocations: 177.2 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8471/0.8471, allocations: 154.6 MB / 414.8 MB, free: 484 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 480.1 MB, free: 6.855 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.291e-05/2.424e-05, allocations: 2.875 kB / 480.1 MB, free: 6.852 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.005463/0.005487, allocations: 4.916 MB / 485 MB, free: 1.984 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002265/0.007752, allocations: 2.846 MB / 487.8 MB, free: 15.14 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.924e-05/0.007831, allocations: 0 / 487.8 MB, free: 15.14 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000242/0.008074, allocations: 51.67 kB / 487.9 MB, free: 15.09 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002072/0.008281, allocations: 100.8 kB / 488 MB, free: 15 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008181/0.009099, allocations: 0.5631 MB / 488.5 MB, free: 14.44 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.009308, allocations: 247.8 kB / 488.8 MB, free: 14.19 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.331e-05/0.009351, allocations: 14.47 kB / 488.8 MB, free: 14.18 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.009538, allocations: 160.2 kB / 489 MB, free: 14.02 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.00966, allocations: 77.06 kB / 489 MB, free: 13.95 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.009682, allocations: 8 kB / 489 MB, free: 13.94 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004361/0.01012, allocations: 347.1 kB / 489.4 MB, free: 13.6 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 5.729e-05/0.01018, allocations: 32.64 kB / 489.4 MB, free: 13.57 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.878e-05/0.01022, allocations: 67.81 kB / 489.5 MB, free: 13.5 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003814/0.01061, allocations: 364.6 kB / 489.8 MB, free: 13.14 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.01061, allocations: 0 / 489.8 MB, free: 13.14 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.01061, allocations: 3.938 kB / 489.8 MB, free: 13.14 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.01061, allocations: 0 / 489.8 MB, free: 13.14 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.0005078/0.01112, allocations: 421.3 kB / 490.2 MB, free: 12.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.01115, allocations: 8.031 kB / 490.3 MB, free: 12.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001329/0.01129, allocations: 40.84 kB / 490.3 MB, free: 12.66 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.01145, allocations: 150.5 kB / 490.4 MB, free: 12.48 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.01146, allocations: 20.64 kB / 490.5 MB, free: 12.46 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.01148, allocations: 17.47 kB / 490.5 MB, free: 12.45 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.01174, allocations: 415.2 kB / 490.9 MB, free: 11.97 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.01174, allocations: 4.125 kB / 490.9 MB, free: 11.96 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.01176, allocations: 16.88 kB / 490.9 MB, free: 11.95 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.132e-05/0.01179, allocations: 7.938 kB / 490.9 MB, free: 11.94 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002104/0.012, allocations: 240.5 kB / 491.1 MB, free: 11.71 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006137/0.01262, allocations: 0.687 MB / 491.8 MB, free: 10.99 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.01278, allocations: 157 kB / 492 MB, free: 10.82 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.085e-05/0.01282, allocations: 37.78 kB / 492 MB, free: 10.79 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004357/0.01326, allocations: 470.3 kB / 492.5 MB, free: 10.32 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.01328, allocations: 34.5 kB / 492.5 MB, free: 10.27 MB / 458.7 MB Notification: Performance of pre-optimization done (n=15): time 1.052e-06/0.01328, allocations: 0 / 492.5 MB, free: 10.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001611/0.01344, allocations: 139.5 kB / 492.7 MB, free: 10.13 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.222e-05/0.01347, allocations: 59.34 kB / 492.7 MB, free: 10.06 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.872e-05/0.01355, allocations: 158.5 kB / 492.9 MB, free: 9.895 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.01356, allocations: 30.52 kB / 492.9 MB, free: 9.859 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.335e-05/0.01361, allocations: 148.1 kB / 493 MB, free: 9.711 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.01364, allocations: 56.3 kB / 493.1 MB, free: 9.656 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.756e-05/0.01369, allocations: 53.64 kB / 493.1 MB, free: 9.598 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000301/0.01399, allocations: 331.6 kB / 493.5 MB, free: 9.266 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.598e-05/0.01401, allocations: 22.81 kB / 493.5 MB, free: 9.242 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.977e-05/0.01408, allocations: 130.4 kB / 493.6 MB, free: 9.07 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.01421, allocations: 178.5 kB / 493.8 MB, free: 8.852 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.01422, allocations: 0 / 493.8 MB, free: 8.852 MB / 458.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001623/0.01438, allocations: 167 kB / 494 MB, free: 8.684 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.01439, allocations: 8 kB / 494 MB, free: 8.676 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.0144, allocations: 6.062 kB / 494 MB, free: 8.672 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.01441, allocations: 4 kB / 494 MB, free: 8.668 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.01456, allocations: 59.91 kB / 494 MB, free: 8.609 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.01456, allocations: 11.92 kB / 494 MB, free: 8.598 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.762e-05/0.01462, allocations: 28.69 kB / 494.1 MB, free: 8.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.01463, allocations: 12 kB / 494.1 MB, free: 8.559 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 7.096e-05/0.0147, allocations: 141.4 kB / 494.2 MB, free: 8.41 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.01473, allocations: 11.98 kB / 494.2 MB, free: 8.398 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.01488, allocations: 105.3 kB / 494.3 MB, free: 8.293 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.01489, allocations: 4 kB / 494.3 MB, free: 8.289 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.01489, allocations: 0 / 494.3 MB, free: 8.289 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.01489, allocations: 0 / 494.3 MB, free: 8.289 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.01503, allocations: 114.5 kB / 494.5 MB, free: 8.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.01503, allocations: 3.938 kB / 494.5 MB, free: 8.156 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.887e-05/0.01511, allocations: 37.34 kB / 494.5 MB, free: 8.121 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.01511, allocations: 0 / 494.5 MB, free: 8.121 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.01512, allocations: 4 kB / 494.5 MB, free: 8.117 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.01512, allocations: 5.094 kB / 494.5 MB, free: 8.113 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.01512, allocations: 3.938 kB / 494.5 MB, free: 8.109 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.01525, allocations: 224.6 kB / 494.7 MB, free: 7.875 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.942e-05/0.01529, allocations: 33.55 kB / 494.8 MB, free: 7.844 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.0153, allocations: 0 / 494.8 MB, free: 7.844 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.083e-05/0.01538, allocations: 12.91 kB / 494.8 MB, free: 7.832 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.779e-05/0.0154, allocations: 15.91 kB / 494.8 MB, free: 7.816 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.01542, allocations: 8.656 kB / 494.8 MB, free: 7.809 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.521e-05/0.01544, allocations: 36.06 kB / 494.8 MB, free: 7.773 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01544, allocations: 1.125 kB / 494.8 MB, free: 7.773 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002373/0.01568, allocations: 83.83 kB / 494.9 MB, free: 7.691 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.0002268/0.01591, allocations: 165.9 kB / 495.1 MB, free: 7.527 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001232/0.01603, allocations: 103.6 kB / 495.2 MB, free: 7.426 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.01604, allocations: 4 kB / 495.2 MB, free: 7.422 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.816e-05/0.01606, allocations: 32.78 kB / 495.2 MB, free: 7.387 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.01626, allocations: 42.47 kB / 495.3 MB, free: 7.348 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000644/0.01691, allocations: 331.8 kB / 495.6 MB, free: 7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.036e-05/0.01695, allocations: 72.7 kB / 495.6 MB, free: 6.91 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.582e-05/0.01704, allocations: 37.14 kB / 495.7 MB, free: 6.883 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.0172, allocations: 129.2 kB / 495.8 MB, free: 6.754 MB / 458.7 MB Notification: Performance of SimCode: time 6.61e-07/0.0172, allocations: 0.9062 kB / 495.8 MB, free: 6.754 MB / 458.7 MB Notification: Performance of Templates: time 0.004954/0.02216, allocations: 3.417 MB / 499.2 MB, free: 3.656 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.WaterProperties.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterProperties.sim & ./IDEAS_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.691542939748615]