Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterProperties") translateModel(IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 114.4 kB / 17.04 MB, free: 6.074 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.00152/0.00152, allocations: 195 kB / 17.98 MB, free: 5.16 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.282/1.282, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6991/0.6991, allocations: 115.1 MB / 406.9 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 63.91 kB / 494.8 MB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.334, allocations: 76.15 MB / 0.5576 GB, free: 36.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.005215/0.3392, allocations: 4.712 MB / 0.5622 GB, free: 33.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002214/0.3415, allocations: 2.696 MB / 0.5648 GB, free: 31.33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.357e-05/0.3416, allocations: 2.5 kB / 0.5648 GB, free: 31.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002381/0.3419, allocations: 49.2 kB / 0.5648 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.3421, allocations: 89.98 kB / 0.5649 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.3432, allocations: 0.4959 MB / 0.5654 GB, free: 31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.3435, allocations: 236.5 kB / 0.5656 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.25e-05/0.3435, allocations: 11.05 kB / 0.5656 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.3437, allocations: 120.3 kB / 0.5658 GB, free: 30.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.3438, allocations: 92.64 kB / 0.5658 GB, free: 30.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.3438, allocations: 7.656 kB / 0.5659 GB, free: 30.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006164/0.3445, allocations: 366.2 kB / 0.5662 GB, free: 30.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.693e-05/0.3445, allocations: 34.34 kB / 0.5662 GB, free: 30.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.786e-05/0.3446, allocations: 83.16 kB / 0.5663 GB, free: 30.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005171/0.3452, allocations: 363.2 kB / 0.5667 GB, free: 30.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3452, allocations: 1.469 kB / 0.5667 GB, free: 30.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3452, allocations: 0 / 0.5667 GB, free: 30.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.3452, allocations: 1.125 kB / 0.5667 GB, free: 30.48 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.0005831/0.3458, allocations: 0.4995 MB / 0.5672 GB, free: 30.03 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.3458, allocations: 11.22 kB / 0.5672 GB, free: 30.03 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.346, allocations: 23.16 kB / 0.5672 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.3462, allocations: 214.2 kB / 0.5674 GB, free: 29.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.3463, allocations: 16.53 kB / 0.5674 GB, free: 29.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.3463, allocations: 14.66 kB / 0.5674 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003241/0.3466, allocations: 248.1 kB / 0.5677 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.3466, allocations: 0 / 0.5677 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.3467, allocations: 9.406 kB / 0.5677 GB, free: 29.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/0.3467, allocations: 6.766 kB / 0.5677 GB, free: 29.65 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004848/0.3472, allocations: 432.2 kB / 0.5681 GB, free: 29.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009675/0.3482, allocations: 0.9499 MB / 0.569 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.3484, allocations: 166.6 kB / 0.5692 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.895e-05/0.3485, allocations: 67.58 kB / 0.5692 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/0.3496, allocations: 1.822 MB / 0.571 GB, free: 26.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.3496, allocations: 35.16 kB / 0.571 GB, free: 26.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.422e-06/0.3496, allocations: 0 / 0.571 GB, free: 26.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003086/0.3499, allocations: 149.4 kB / 0.5712 GB, free: 26.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.3499, allocations: 56.75 kB / 0.5712 GB, free: 26.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.3501, allocations: 172.8 kB / 0.5714 GB, free: 26.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.3501, allocations: 27.83 kB / 0.5714 GB, free: 26.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.088e-05/0.3502, allocations: 142.3 kB / 0.5716 GB, free: 26.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.3502, allocations: 55.62 kB / 0.5716 GB, free: 26.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.196e-05/0.3503, allocations: 50.09 kB / 0.5717 GB, free: 26.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.262e-05/0.3503, allocations: 322.8 kB / 0.572 GB, free: 25.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.652e-05/0.3504, allocations: 35.25 kB / 0.572 GB, free: 25.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.3505, allocations: 143.8 kB / 0.5722 GB, free: 25.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.3507, allocations: 199.7 kB / 0.5723 GB, free: 25.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3507, allocations: 4.906 kB / 0.5723 GB, free: 25.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002936/0.351, allocations: 217.1 kB / 0.5726 GB, free: 25.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.351, allocations: 8 kB / 0.5726 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.3511, allocations: 3.875 kB / 0.5726 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.3511, allocations: 9.859 kB / 0.5726 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.3512, allocations: 55.89 kB / 0.5726 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.3513, allocations: 10.33 kB / 0.5726 GB, free: 25.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.3514, allocations: 23.53 kB / 0.5727 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.3514, allocations: 15.91 kB / 0.5727 GB, free: 25.29 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.533e-05/0.3515, allocations: 138.3 kB / 0.5728 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.782e-05/0.3515, allocations: 16.56 kB / 0.5728 GB, free: 25.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002625/0.3518, allocations: 155.5 kB / 0.573 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/0.3518, allocations: 10.09 kB / 0.573 GB, free: 25.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.3518, allocations: 1.125 kB / 0.573 GB, free: 25.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3518, allocations: 2.453 kB / 0.573 GB, free: 25.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.352, allocations: 215.5 kB / 0.5732 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.352, allocations: 1.688 kB / 0.5732 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.705e-05/0.3521, allocations: 29.25 kB / 0.5732 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3521, allocations: 0.7031 kB / 0.5732 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.3521, allocations: 2.172 kB / 0.5732 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.3522, allocations: 9.094 kB / 0.5732 GB, free: 24.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3522, allocations: 0 / 0.5732 GB, free: 24.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.3524, allocations: 221.5 kB / 0.5734 GB, free: 24.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.468e-05/0.3524, allocations: 110.9 kB / 0.5735 GB, free: 24.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.3525, allocations: 6.875 kB / 0.5736 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.3527, allocations: 14.69 kB / 0.5736 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.3527, allocations: 13.97 kB / 0.5736 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.3527, allocations: 8.719 kB / 0.5736 GB, free: 24.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.587e-05/0.3528, allocations: 123 kB / 0.5737 GB, free: 24.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3528, allocations: 1.875 kB / 0.5737 GB, free: 24.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003716/0.3532, allocations: 79.84 kB / 0.5738 GB, free: 24.44 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.0002621/0.3535, allocations: 182.2 kB / 0.574 GB, free: 24.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002239/0.3537, allocations: 121.1 kB / 0.5741 GB, free: 24.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.3537, allocations: 1.906 kB / 0.5741 GB, free: 24.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.189e-05/0.3538, allocations: 40.16 kB / 0.5741 GB, free: 24.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.3542, allocations: 52.83 kB / 0.5742 GB, free: 24.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005945/0.3548, allocations: 345.2 kB / 0.5745 GB, free: 24.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.3549, allocations: 0.7156 MB / 0.5752 GB, free: 23.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001334/0.3551, allocations: 49.91 kB / 0.5752 GB, free: 23.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.054e-05/0.3551, allocations: 26.84 kB / 0.5753 GB, free: 23.34 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3551, allocations: 0 / 0.5753 GB, free: 23.34 MB / 446.1 MB Notification: Performance of Templates: time 0.007058/0.3622, allocations: 3.412 MB / 0.5786 GB, free: 23.03 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterProperties.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe 2>&1)