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: "" <> buildModelFMU(IBPSA.Media.Examples.WaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 106.4 kB / 15.98 MB, free: 6.355 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.0009926/0.0009925, allocations: 191.3 kB / 16.91 MB, free: 6.195 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.255/1.255, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6566/0.6566, allocations: 115.3 MB / 406.1 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.89 kB / 493.2 MB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2708, allocations: 76.17 MB / 0.556 GB, free: 36.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.004238/0.2751, allocations: 4.735 MB / 0.5606 GB, free: 33.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.277, allocations: 2.69 MB / 0.5633 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.419e-05/0.2771, allocations: 3.562 kB / 0.5633 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002011/0.2773, allocations: 40.98 kB / 0.5633 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001916/0.2775, allocations: 87.47 kB / 0.5634 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007998/0.2783, allocations: 473.3 kB / 0.5638 GB, free: 30.81 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.2785, allocations: 241.2 kB / 0.5641 GB, free: 30.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.77e-05/0.2786, allocations: 11.06 kB / 0.5641 GB, free: 30.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.2787, allocations: 114 kB / 0.5642 GB, free: 30.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.2788, allocations: 94.59 kB / 0.5643 GB, free: 30.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.2788, allocations: 12 kB / 0.5643 GB, free: 30.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005058/0.2794, allocations: 369.4 kB / 0.5646 GB, free: 30.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.651e-05/0.2794, allocations: 43.39 kB / 0.5647 GB, free: 30.44 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.774e-05/0.2795, allocations: 79.61 kB / 0.5648 GB, free: 30.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004553/0.28, allocations: 361.9 kB / 0.5651 GB, free: 30.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.28, allocations: 1.531 kB / 0.5651 GB, free: 30.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.28, allocations: 0 / 0.5651 GB, free: 30.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.28, allocations: 0.9688 kB / 0.5651 GB, free: 30.29 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.0005347/0.2805, allocations: 0.5051 MB / 0.5656 GB, free: 29.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.2806, allocations: 9.531 kB / 0.5656 GB, free: 29.83 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.025e-05/0.2806, allocations: 52.27 kB / 0.5657 GB, free: 29.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.2808, allocations: 24.92 kB / 0.5657 GB, free: 29.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.2809, allocations: 208.1 kB / 0.5659 GB, free: 29.56 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.2809, allocations: 11.67 kB / 0.5659 GB, free: 29.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.2809, allocations: 16.31 kB / 0.5659 GB, free: 29.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/0.2813, allocations: 252.5 kB / 0.5661 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.2813, allocations: 0 / 0.5661 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.2813, allocations: 6.781 kB / 0.5661 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/0.2813, allocations: 11.27 kB / 0.5662 GB, free: 29.4 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004302/0.2818, allocations: 429.8 kB / 0.5666 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007829/0.2826, allocations: 0.9455 MB / 0.5675 GB, free: 28.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.2828, allocations: 172.9 kB / 0.5677 GB, free: 28.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.444e-05/0.2829, allocations: 62.44 kB / 0.5677 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008146/0.2837, allocations: 1.818 MB / 0.5695 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.398e-05/0.2837, allocations: 38.94 kB / 0.5695 GB, free: 26.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.2837, allocations: 0 / 0.5695 GB, free: 26.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002585/0.284, allocations: 153.2 kB / 0.5697 GB, free: 26.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.595e-05/0.284, allocations: 53.83 kB / 0.5697 GB, free: 26.19 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.826e-05/0.2841, allocations: 173.7 kB / 0.5699 GB, free: 26.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.2842, allocations: 29.36 kB / 0.5699 GB, free: 26.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.308e-05/0.2842, allocations: 142.2 kB / 0.5701 GB, free: 25.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.2842, allocations: 49.97 kB / 0.5701 GB, free: 25.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.2843, allocations: 50.5 kB / 0.5702 GB, free: 25.83 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.942e-05/0.2843, allocations: 324.6 kB / 0.5705 GB, free: 25.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.783e-05/0.2844, allocations: 35.53 kB / 0.5705 GB, free: 25.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.297e-05/0.2845, allocations: 145.7 kB / 0.5706 GB, free: 25.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.2847, allocations: 196.8 kB / 0.5708 GB, free: 25.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2847, allocations: 1.094 kB / 0.5708 GB, free: 25.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002732/0.285, allocations: 219 kB / 0.571 GB, free: 25.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.285, allocations: 13.86 kB / 0.571 GB, free: 25.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.285, allocations: 3.438 kB / 0.571 GB, free: 25.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.285, allocations: 9.875 kB / 0.5711 GB, free: 25.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.2852, allocations: 63.59 kB / 0.5711 GB, free: 25.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.2852, allocations: 8.547 kB / 0.5711 GB, free: 25.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.2853, allocations: 27.44 kB / 0.5712 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.2853, allocations: 16.12 kB / 0.5712 GB, free: 25.04 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.763e-05/0.2854, allocations: 132.9 kB / 0.5713 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.461e-05/0.2854, allocations: 16.97 kB / 0.5713 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000239/0.2857, allocations: 159.7 kB / 0.5715 GB, free: 24.81 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.2857, allocations: 6.188 kB / 0.5715 GB, free: 24.81 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2857, allocations: 4.125 kB / 0.5715 GB, free: 24.81 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2857, allocations: 5.25 kB / 0.5715 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.2859, allocations: 212 kB / 0.5717 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2859, allocations: 1.156 kB / 0.5717 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.112e-05/0.286, allocations: 25.44 kB / 0.5717 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.286, allocations: 1.25 kB / 0.5717 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.286, allocations: 6.891 kB / 0.5717 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.286, allocations: 5.703 kB / 0.5717 GB, free: 24.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.286, allocations: 0.7188 kB / 0.5717 GB, free: 24.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.2862, allocations: 216.6 kB / 0.5719 GB, free: 24.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.563e-05/0.2863, allocations: 111 kB / 0.572 GB, free: 24.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.2863, allocations: 5.375 kB / 0.572 GB, free: 24.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.2865, allocations: 18.31 kB / 0.5721 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.403e-05/0.2865, allocations: 13.16 kB / 0.5721 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.2865, allocations: 12.05 kB / 0.5721 GB, free: 24.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.714e-05/0.2866, allocations: 119 kB / 0.5722 GB, free: 24.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2866, allocations: 1.219 kB / 0.5722 GB, free: 24.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000339/0.287, allocations: 79.67 kB / 0.5723 GB, free: 24.2 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.0004788/0.2874, allocations: 0.8227 MB / 0.5731 GB, free: 23.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.2876, allocations: 134.2 kB / 0.5732 GB, free: 23.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2877, allocations: 1.156 kB / 0.5732 GB, free: 23.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.923e-05/0.2877, allocations: 50.25 kB / 0.5732 GB, free: 23.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.2881, allocations: 57.69 kB / 0.5733 GB, free: 23.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.2896, allocations: 2.073 MB / 0.5753 GB, free: 21.69 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.2897, allocations: 0.7153 MB / 0.576 GB, free: 20.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001486/0.2899, allocations: 48.34 kB / 0.5761 GB, free: 20.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.43e-05/0.2899, allocations: 49.47 kB / 0.5761 GB, free: 20.94 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2899, allocations: 1.125 kB / 0.5761 GB, free: 20.94 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.527/1.817, allocations: 5.1 MB / 0.5811 GB, free: 20.39 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001543/1.818, allocations: 183.7 kB / 0.5813 GB, free: 20.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.572/4.39, allocations: 0 / 0.5813 GB, free: 20.14 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_WaterProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe 2>&1)