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.001317/0.001317, allocations: 103.5 kB / 16.27 MB, free: 6.418 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.001463/0.001463, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.366/1.366, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8276/0.8276, allocations: 135.2 MB / 426.2 MB, free: 4.156 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 63.91 kB / 0.506 GB, free: 8.379 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3483, allocations: 80.92 MB / 0.585 GB, free: 25.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.004923/0.3533, allocations: 4.711 MB / 0.5896 GB, free: 21.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.3554, allocations: 2.694 MB / 0.5923 GB, free: 19.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.175e-05/0.3555, allocations: 0 / 0.5923 GB, free: 19.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.3558, allocations: 51.67 kB / 0.5923 GB, free: 19.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.356, allocations: 96.11 kB / 0.5924 GB, free: 18.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008645/0.3568, allocations: 0.4944 MB / 0.5929 GB, free: 18.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.357, allocations: 244.7 kB / 0.5931 GB, free: 18.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.547e-05/0.3571, allocations: 14.33 kB / 0.5931 GB, free: 18.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.3572, allocations: 114.5 kB / 0.5933 GB, free: 18.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.717e-05/0.3573, allocations: 91.61 kB / 0.5933 GB, free: 17.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.3573, allocations: 8 kB / 0.5934 GB, free: 17.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005153/0.3579, allocations: 367.3 kB / 0.5937 GB, free: 17.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.88e-05/0.3579, allocations: 39.89 kB / 0.5937 GB, free: 17.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.131e-05/0.358, allocations: 71.67 kB / 0.5938 GB, free: 17.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004176/0.3584, allocations: 361.1 kB / 0.5942 GB, free: 17.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3584, allocations: 3.938 kB / 0.5942 GB, free: 17.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3584, allocations: 0.625 kB / 0.5942 GB, free: 17.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.3585, allocations: 1.281 kB / 0.5942 GB, free: 17.16 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.0005529/0.359, allocations: 0.5031 MB / 0.5947 GB, free: 16.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.923e-05/0.3591, allocations: 10.86 kB / 0.5947 GB, free: 16.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.3592, allocations: 20.75 kB / 0.5947 GB, free: 16.58 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.3594, allocations: 216 kB / 0.5949 GB, free: 16.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.3594, allocations: 12.7 kB / 0.5949 GB, free: 16.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.3594, allocations: 17.12 kB / 0.5949 GB, free: 16.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/0.3597, allocations: 247.7 kB / 0.5952 GB, free: 16.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3597, allocations: 3.938 kB / 0.5952 GB, free: 16.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.3597, allocations: 8 kB / 0.5952 GB, free: 16.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/0.3598, allocations: 7.984 kB / 0.5952 GB, free: 16.03 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000344/0.3601, allocations: 435.3 kB / 0.5956 GB, free: 15.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008046/0.3609, allocations: 0.9421 MB / 0.5965 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.3612, allocations: 157.6 kB / 0.5967 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.068e-05/0.3612, allocations: 66.62 kB / 0.5967 GB, free: 14.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008527/0.3621, allocations: 1.826 MB / 0.5985 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.3621, allocations: 35.31 kB / 0.5985 GB, free: 12.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.3622, allocations: 0 / 0.5985 GB, free: 12.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002725/0.3624, allocations: 150 kB / 0.5987 GB, free: 11.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.081e-05/0.3625, allocations: 59.28 kB / 0.5987 GB, free: 11.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.3626, allocations: 168.7 kB / 0.5989 GB, free: 11.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.3626, allocations: 29.7 kB / 0.5989 GB, free: 11.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/0.3626, allocations: 148.5 kB / 0.5991 GB, free: 11.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.3627, allocations: 47.36 kB / 0.5991 GB, free: 11.49 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.071e-05/0.3627, allocations: 58.8 kB / 0.5992 GB, free: 11.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.76e-05/0.3628, allocations: 326.8 kB / 0.5995 GB, free: 11.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.567e-05/0.3628, allocations: 37.22 kB / 0.5995 GB, free: 11.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.297e-05/0.3629, allocations: 137.2 kB / 0.5996 GB, free: 10.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.3631, allocations: 200.6 kB / 0.5998 GB, free: 10.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.3631, allocations: 8.625 kB / 0.5998 GB, free: 10.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002538/0.3634, allocations: 207 kB / 0.6 GB, free: 10.44 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.3634, allocations: 12.19 kB / 0.6001 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3634, allocations: 4 kB / 0.6001 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.3634, allocations: 7.984 kB / 0.6001 GB, free: 10.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.3636, allocations: 55.86 kB / 0.6001 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.3636, allocations: 15.92 kB / 0.6001 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.394e-05/0.3637, allocations: 23.75 kB / 0.6002 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.3637, allocations: 16.53 kB / 0.6002 GB, free: 10.31 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 6.905e-05/0.3638, allocations: 132 kB / 0.6003 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.523e-05/0.3638, allocations: 19.75 kB / 0.6003 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002315/0.3641, allocations: 154.9 kB / 0.6005 GB, free: 9.996 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.3641, allocations: 9.156 kB / 0.6005 GB, free: 9.988 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.3641, allocations: 0 / 0.6005 GB, free: 9.988 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3641, allocations: 0 / 0.6005 GB, free: 9.988 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.3643, allocations: 213.6 kB / 0.6007 GB, free: 9.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3643, allocations: 0.75 kB / 0.6007 GB, free: 9.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.993e-05/0.3644, allocations: 27.94 kB / 0.6007 GB, free: 9.703 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3644, allocations: 1.406 kB / 0.6007 GB, free: 9.703 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.3644, allocations: 7.984 kB / 0.6007 GB, free: 9.695 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.3644, allocations: 3.938 kB / 0.6007 GB, free: 9.691 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3644, allocations: 1.562 kB / 0.6007 GB, free: 9.691 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.3646, allocations: 215.3 kB / 0.6009 GB, free: 9.465 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.81e-05/0.3647, allocations: 113.5 kB / 0.601 GB, free: 9.336 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.3647, allocations: 7.922 kB / 0.601 GB, free: 9.328 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.3649, allocations: 17.56 kB / 0.6011 GB, free: 9.312 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.293e-05/0.3649, allocations: 11.97 kB / 0.6011 GB, free: 9.301 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.3649, allocations: 15.98 kB / 0.6011 GB, free: 9.285 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.506e-05/0.365, allocations: 126.8 kB / 0.6012 GB, free: 9.164 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.365, allocations: 0 / 0.6012 GB, free: 9.164 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003358/0.3653, allocations: 77.58 kB / 0.6013 GB, free: 9.09 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.0002782/0.3656, allocations: 177.9 kB / 0.6014 GB, free: 8.914 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000196/0.3658, allocations: 132.5 kB / 0.6016 GB, free: 8.789 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.3658, allocations: 0 / 0.6016 GB, free: 8.789 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.102e-05/0.3659, allocations: 45.3 kB / 0.6016 GB, free: 8.746 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.3663, allocations: 52.27 kB / 0.6017 GB, free: 8.699 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000545/0.3669, allocations: 367.6 kB / 0.602 GB, free: 8.316 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.367, allocations: 0.723 MB / 0.6027 GB, free: 7.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.173e-05/0.367, allocations: 27.44 kB / 0.6028 GB, free: 7.543 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3671, allocations: 0 / 0.6028 GB, free: 7.543 MB / 446.1 MB Notification: Performance of Templates: time 0.004045/0.3711, allocations: 3.162 MB / 0.6058 GB, free: 4.41 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)