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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 107 kB / 16.36 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 195.3 kB / 17.29 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7853/0.7853, allocations: 135.1 MB / 426.3 MB, free: 4.16 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 59.91 kB / 0.5067 GB, free: 7.723 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3445, allocations: 80.91 MB / 0.5857 GB, free: 25.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.004996/0.3495, allocations: 4.709 MB / 0.5903 GB, free: 21.78 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.3515, allocations: 2.698 MB / 0.593 GB, free: 19.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.773e-05/0.3517, allocations: 0.5 kB / 0.593 GB, free: 19.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002552/0.3519, allocations: 52.62 kB / 0.593 GB, free: 19.06 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002579/0.3522, allocations: 96.75 kB / 0.5931 GB, free: 18.97 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.3533, allocations: 0.5061 MB / 0.5936 GB, free: 18.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.3535, allocations: 231.9 kB / 0.5938 GB, free: 18.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.287e-05/0.3535, allocations: 11.56 kB / 0.5938 GB, free: 18.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.3537, allocations: 119.6 kB / 0.594 GB, free: 18.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.3538, allocations: 91.59 kB / 0.594 GB, free: 18.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.3538, allocations: 9.125 kB / 0.5941 GB, free: 18.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000516/0.3543, allocations: 367.3 kB / 0.5944 GB, free: 17.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.087e-05/0.3544, allocations: 35.89 kB / 0.5944 GB, free: 17.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.518e-05/0.3545, allocations: 81.47 kB / 0.5945 GB, free: 17.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004454/0.3549, allocations: 364.8 kB / 0.5949 GB, free: 17.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.355, allocations: 0 / 0.5949 GB, free: 17.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.355, allocations: 0 / 0.5949 GB, free: 17.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.355, allocations: 4 kB / 0.5949 GB, free: 17.2 MB / 446.1 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.0006045/0.3556, allocations: 0.4961 MB / 0.5954 GB, free: 16.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.3556, allocations: 14.39 kB / 0.5954 GB, free: 16.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.3558, allocations: 20.75 kB / 0.5954 GB, free: 16.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.356, allocations: 212.6 kB / 0.5956 GB, free: 16.37 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.356, allocations: 24.67 kB / 0.5956 GB, free: 16.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.356, allocations: 13.75 kB / 0.5956 GB, free: 16.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002967/0.3563, allocations: 249.4 kB / 0.5959 GB, free: 16.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.3563, allocations: 3.656 kB / 0.5959 GB, free: 16.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.3564, allocations: 12 kB / 0.5959 GB, free: 16.06 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.277e-05/0.3564, allocations: 4 kB / 0.5959 GB, free: 16.06 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003425/0.3567, allocations: 427.3 kB / 0.5963 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008174/0.3576, allocations: 0.9474 MB / 0.5972 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.3578, allocations: 157.5 kB / 0.5974 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.978e-05/0.3579, allocations: 67.25 kB / 0.5974 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000834/0.3587, allocations: 1.821 MB / 0.5992 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.3588, allocations: 41.09 kB / 0.5992 GB, free: 12.15 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/0.3588, allocations: 0 / 0.5992 GB, free: 12.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002773/0.359, allocations: 153.3 kB / 0.5994 GB, free: 12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.031e-05/0.3591, allocations: 55.34 kB / 0.5994 GB, free: 11.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.3592, allocations: 169.5 kB / 0.5996 GB, free: 11.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.3592, allocations: 29.7 kB / 0.5996 GB, free: 11.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.413e-05/0.3593, allocations: 144.5 kB / 0.5998 GB, free: 11.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.3593, allocations: 51.34 kB / 0.5998 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/0.3594, allocations: 51.45 kB / 0.5999 GB, free: 11.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.765e-05/0.3594, allocations: 326.8 kB / 0.6002 GB, free: 11.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.503e-05/0.3595, allocations: 39.97 kB / 0.6002 GB, free: 11.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.586e-05/0.3596, allocations: 136.9 kB / 0.6004 GB, free: 10.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.3597, allocations: 197.9 kB / 0.6005 GB, free: 10.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3598, allocations: 0 / 0.6005 GB, free: 10.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002536/0.36, allocations: 215.2 kB / 0.6007 GB, free: 10.47 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.36, allocations: 8 kB / 0.6008 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.36, allocations: 5.156 kB / 0.6008 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.3601, allocations: 4 kB / 0.6008 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.3602, allocations: 67.78 kB / 0.6008 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.3602, allocations: 9.438 kB / 0.6008 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.572e-05/0.3603, allocations: 27.75 kB / 0.6009 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.3604, allocations: 8 kB / 0.6009 GB, free: 10.35 MB / 446.1 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.922e-05/0.3604, allocations: 142.7 kB / 0.601 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/0.3605, allocations: 15.81 kB / 0.601 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002432/0.3607, allocations: 152.1 kB / 0.6012 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.3608, allocations: 7.938 kB / 0.6012 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3608, allocations: 0.625 kB / 0.6012 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.3608, allocations: 3.938 kB / 0.6012 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.361, allocations: 214.2 kB / 0.6014 GB, free: 9.762 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.361, allocations: 0.75 kB / 0.6014 GB, free: 9.762 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.809e-05/0.3611, allocations: 20 kB / 0.6014 GB, free: 9.742 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3611, allocations: 4.953 kB / 0.6014 GB, free: 9.738 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.3611, allocations: 8 kB / 0.6014 GB, free: 9.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3611, allocations: 3.938 kB / 0.6014 GB, free: 9.727 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3611, allocations: 4.531 kB / 0.6014 GB, free: 9.723 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.3613, allocations: 223.8 kB / 0.6016 GB, free: 9.492 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.612e-05/0.3614, allocations: 116.8 kB / 0.6017 GB, free: 9.359 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.3614, allocations: 4.938 kB / 0.6018 GB, free: 9.355 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.3616, allocations: 19.92 kB / 0.6018 GB, free: 9.336 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.08e-05/0.3616, allocations: 4.688 kB / 0.6018 GB, free: 9.332 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.3616, allocations: 16.86 kB / 0.6018 GB, free: 9.316 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.995e-05/0.3617, allocations: 125.8 kB / 0.6019 GB, free: 9.195 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3617, allocations: 1 kB / 0.6019 GB, free: 9.195 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000341/0.3621, allocations: 75.98 kB / 0.602 GB, free: 9.121 MB / 446.1 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.000269/0.3623, allocations: 183.2 kB / 0.6022 GB, free: 8.941 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002161/0.3626, allocations: 116.3 kB / 0.6023 GB, free: 8.828 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3626, allocations: 5.375 kB / 0.6023 GB, free: 8.824 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.466e-05/0.3626, allocations: 43.92 kB / 0.6023 GB, free: 8.781 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.363, allocations: 51.08 kB / 0.6024 GB, free: 8.734 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006013/0.3636, allocations: 350.8 kB / 0.6027 GB, free: 8.375 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001512/0.3638, allocations: 0.7166 MB / 0.6034 GB, free: 7.629 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001226/0.3639, allocations: 44.67 kB / 0.6034 GB, free: 7.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.364, allocations: 23.44 kB / 0.6035 GB, free: 7.566 MB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.364, allocations: 0 / 0.6035 GB, free: 7.566 MB / 446.1 MB Notification: Performance of Templates: time 0.005661/0.3696, allocations: 3.399 MB / 0.6068 GB, free: 4.211 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.makefile (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=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)