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.001436/0.001436, allocations: 80.94 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.001063/0.001063, allocations: 173 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 1.014/1.014, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.8494/0.8494, allocations: 154.9 MB / 415.1 MB, free: 252 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.343e-06/1.343e-06, allocations: 0 / 480.4 MB, free: 6.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.176e-05, allocations: 4.141 kB / 480.4 MB, free: 6.477 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.004691/0.004712, allocations: 4.912 MB / 485.3 MB, free: 1.613 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.006772, allocations: 2.849 MB / 488.2 MB, free: 14.77 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.097e-05/0.006853, allocations: 4 kB / 488.2 MB, free: 14.77 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000236/0.007089, allocations: 44.38 kB / 488.2 MB, free: 14.72 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002064/0.007295, allocations: 104.2 kB / 488.3 MB, free: 14.62 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009796/0.008275, allocations: 0.5587 MB / 488.9 MB, free: 14.07 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.008506, allocations: 252.3 kB / 489.1 MB, free: 13.82 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.976e-05/0.008546, allocations: 11.45 kB / 489.1 MB, free: 13.81 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001877/0.008733, allocations: 155.6 kB / 489.3 MB, free: 13.66 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.008845, allocations: 84.28 kB / 489.4 MB, free: 13.57 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.008865, allocations: 8.938 kB / 489.4 MB, free: 13.57 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004835/0.009348, allocations: 339.1 kB / 489.7 MB, free: 13.23 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 6.075e-05/0.009409, allocations: 44.97 kB / 489.8 MB, free: 13.19 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 5.988e-05/0.009469, allocations: 59.91 kB / 489.8 MB, free: 13.13 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003969/0.009866, allocations: 362.8 kB / 490.2 MB, free: 12.78 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.009868, allocations: 0 / 490.2 MB, free: 12.78 MB / 458.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.009868, allocations: 2.125 kB / 490.2 MB, free: 12.78 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.009872, allocations: 0 / 490.2 MB, free: 12.78 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.0005453/0.01042, allocations: 424 kB / 490.6 MB, free: 12.34 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.01045, allocations: 12.03 kB / 490.6 MB, free: 12.32 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.01057, allocations: 37.62 kB / 490.6 MB, free: 12.29 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.01074, allocations: 158.5 kB / 490.8 MB, free: 12.11 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.01075, allocations: 13.67 kB / 490.8 MB, free: 12.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.01077, allocations: 24.36 kB / 490.8 MB, free: 12.07 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.01101, allocations: 404.6 kB / 491.2 MB, free: 11.61 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.01102, allocations: 2.094 kB / 491.2 MB, free: 11.61 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.01104, allocations: 16.12 kB / 491.2 MB, free: 11.59 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.462e-05/0.01106, allocations: 4 kB / 491.3 MB, free: 11.59 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.01126, allocations: 247.7 kB / 491.5 MB, free: 11.34 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006358/0.01189, allocations: 0.688 MB / 492.2 MB, free: 10.62 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.01213, allocations: 164.8 kB / 492.3 MB, free: 10.46 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.606e-05/0.01218, allocations: 32.84 kB / 492.4 MB, free: 10.42 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005273/0.01271, allocations: 474.3 kB / 492.8 MB, free: 9.949 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.01273, allocations: 34.56 kB / 492.9 MB, free: 9.906 MB / 458.7 MB Notification: Performance of pre-optimization done (n=15): time 1.102e-06/0.01273, allocations: 0 / 492.9 MB, free: 9.906 MB / 458.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001978/0.01293, allocations: 136.5 kB / 493 MB, free: 9.77 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.01296, allocations: 63.34 kB / 493.1 MB, free: 9.695 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.103e-05/0.01305, allocations: 159.9 kB / 493.2 MB, free: 9.527 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.01307, allocations: 29.7 kB / 493.3 MB, free: 9.492 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.584e-05/0.01313, allocations: 148.7 kB / 493.4 MB, free: 9.344 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.01315, allocations: 57.2 kB / 493.5 MB, free: 9.289 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.0132, allocations: 57.62 kB / 493.5 MB, free: 9.227 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.744e-05/0.01327, allocations: 322.8 kB / 493.8 MB, free: 8.902 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.786e-05/0.0133, allocations: 26.06 kB / 493.8 MB, free: 8.879 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.834e-05/0.01338, allocations: 125.6 kB / 494 MB, free: 8.707 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.01352, allocations: 180.2 kB / 494.1 MB, free: 8.484 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01352, allocations: 0.75 kB / 494.1 MB, free: 8.484 MB / 458.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001544/0.01367, allocations: 169.3 kB / 494.3 MB, free: 8.316 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.01368, allocations: 6.344 kB / 494.3 MB, free: 8.312 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.0137, allocations: 4 kB / 494.3 MB, free: 8.309 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.01371, allocations: 4 kB / 494.3 MB, free: 8.305 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.01385, allocations: 63.91 kB / 494.4 MB, free: 8.242 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.01386, allocations: 11.98 kB / 494.4 MB, free: 8.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.95e-05/0.01392, allocations: 27.78 kB / 494.4 MB, free: 8.203 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.01393, allocations: 12.78 kB / 494.4 MB, free: 8.191 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.095e-05/0.014, allocations: 141 kB / 494.6 MB, free: 8.043 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.01403, allocations: 16.61 kB / 494.6 MB, free: 8.027 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.01417, allocations: 103.6 kB / 494.7 MB, free: 7.918 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.01418, allocations: 1.875 kB / 494.7 MB, free: 7.918 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.01418, allocations: 4 kB / 494.7 MB, free: 7.914 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.01418, allocations: 3.984 kB / 494.7 MB, free: 7.91 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.01431, allocations: 105.8 kB / 494.8 MB, free: 7.789 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01431, allocations: 3.938 kB / 494.8 MB, free: 7.785 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.04e-05/0.01438, allocations: 36.64 kB / 494.8 MB, free: 7.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.01439, allocations: 8.469 kB / 494.9 MB, free: 7.742 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.01439, allocations: 4 kB / 494.9 MB, free: 7.738 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.0144, allocations: 4.484 kB / 494.9 MB, free: 7.734 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.0144, allocations: 1.25 kB / 494.9 MB, free: 7.734 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.01451, allocations: 222.8 kB / 495.1 MB, free: 7.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.805e-05/0.01455, allocations: 31.81 kB / 495.1 MB, free: 7.469 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.01456, allocations: 1.062 kB / 495.1 MB, free: 7.469 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.88e-05/0.01464, allocations: 11.98 kB / 495.1 MB, free: 7.457 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.779e-05/0.01466, allocations: 7.984 kB / 495.1 MB, free: 7.449 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.01467, allocations: 13.3 kB / 495.1 MB, free: 7.438 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.747e-05/0.0147, allocations: 37.22 kB / 495.2 MB, free: 7.402 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0147, allocations: 0 / 495.2 MB, free: 7.402 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002354/0.01494, allocations: 87.81 kB / 495.3 MB, free: 7.316 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.0002393/0.01518, allocations: 161.8 kB / 495.4 MB, free: 7.156 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000141/0.01532, allocations: 95.69 kB / 495.5 MB, free: 7.062 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.894e-06/0.01532, allocations: 4.906 kB / 495.5 MB, free: 7.059 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.924e-05/0.01535, allocations: 34.61 kB / 495.6 MB, free: 7.023 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.01557, allocations: 54.25 kB / 495.6 MB, free: 6.973 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006253/0.0162, allocations: 323.3 kB / 495.9 MB, free: 6.633 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.997e-05/0.01624, allocations: 72.17 kB / 496 MB, free: 6.547 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001002/0.01634, allocations: 43.66 kB / 496 MB, free: 6.512 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.0165, allocations: 125.2 kB / 496.2 MB, free: 6.387 MB / 458.7 MB Notification: Performance of SimCode: time 1.232e-06/0.0165, allocations: 1.312 kB / 496.2 MB, free: 6.387 MB / 458.7 MB Notification: Performance of Templates: time 0.004764/0.02126, allocations: 3.43 MB / 499.6 MB, free: 3.281 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.722331185825169]