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.001553/0.001553, allocations: 96.03 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001944/0.001944, allocations: 170.7 kB / 16.56 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.531/2.531, allocations: 223.2 MB / 240.5 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.247/1.247, allocations: 113.7 MB / 405.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005358/0.0005361, allocations: 8 kB / 493 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2831, allocations: 77.11 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.00905/0.2923, allocations: 3.92 MB / 0.5605 GB, free: 7.746 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004801/0.2971, allocations: 2.171 MB / 0.5627 GB, free: 5.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002781/0.2975, allocations: 0 / 0.5627 GB, free: 5.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003989/0.2979, allocations: 35.75 kB / 0.5627 GB, free: 5.535 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004252/0.2984, allocations: 79.81 kB / 0.5628 GB, free: 5.457 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002499/0.3009, allocations: 438.3 kB / 0.5632 GB, free: 5.035 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004722/0.3014, allocations: 148.7 kB / 0.5633 GB, free: 4.891 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.3015, allocations: 9.562 kB / 0.5633 GB, free: 4.879 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003806/0.3019, allocations: 107.7 kB / 0.5634 GB, free: 4.773 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/0.3021, allocations: 71.75 kB / 0.5635 GB, free: 4.703 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.557e-05/0.3022, allocations: 8 kB / 0.5635 GB, free: 4.695 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005263/0.3075, allocations: 295.6 kB / 0.5638 GB, free: 4.406 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.3077, allocations: 35.83 kB / 0.5638 GB, free: 4.371 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001686/0.3079, allocations: 53.64 kB / 0.5639 GB, free: 4.312 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008306/0.3087, allocations: 215.8 kB / 0.5641 GB, free: 4.102 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3087, allocations: 0 / 0.5641 GB, free: 4.102 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.12e-06/0.3088, allocations: 0 / 0.5641 GB, free: 4.102 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.3088, allocations: 0 / 0.5641 GB, free: 4.102 MB / 430.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.001495/0.3103, allocations: 475.1 kB / 0.5645 GB, free: 3.586 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.915e-05/0.3104, allocations: 12.03 kB / 0.5646 GB, free: 3.574 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001419/0.3106, allocations: 54.48 kB / 0.5646 GB, free: 3.512 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000281/0.3109, allocations: 23.89 kB / 0.5646 GB, free: 3.488 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005159/0.3114, allocations: 210.7 kB / 0.5648 GB, free: 3.242 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.238e-05/0.3114, allocations: 16.28 kB / 0.5648 GB, free: 3.227 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.972e-05/0.3115, allocations: 16 kB / 0.5649 GB, free: 3.211 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008566/0.3124, allocations: 236.8 kB / 0.5651 GB, free: 2.961 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.3124, allocations: 3.938 kB / 0.5651 GB, free: 2.957 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.379e-05/0.3125, allocations: 15.98 kB / 0.5651 GB, free: 2.941 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.9e-05/0.3125, allocations: 4 kB / 0.5651 GB, free: 2.938 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.3136, allocations: 435.3 kB / 0.5655 GB, free: 2.512 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002023/0.3156, allocations: 0.9839 MB / 0.5665 GB, free: 1.438 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005321/0.3162, allocations: 163.7 kB / 0.5666 GB, free: 1.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002769/0.319, allocations: 1.84 MB / 0.5684 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.89e-05/0.319, allocations: 38.56 kB / 0.5685 GB, free: 15.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 3.526e-06/0.3191, allocations: 0 / 0.5685 GB, free: 15.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006464/0.3197, allocations: 141.4 kB / 0.5686 GB, free: 14.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001679/0.3199, allocations: 59.34 kB / 0.5687 GB, free: 14.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003449/0.3203, allocations: 177.5 kB / 0.5688 GB, free: 14.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.75e-05/0.3204, allocations: 25.7 kB / 0.5689 GB, free: 14.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/0.3206, allocations: 143.7 kB / 0.569 GB, free: 14.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.3207, allocations: 63.2 kB / 0.5691 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.976e-05/0.3208, allocations: 4 kB / 0.5691 GB, free: 14.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003737/0.3212, allocations: 322.8 kB / 0.5694 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.3213, allocations: 31.98 kB / 0.5694 GB, free: 14.03 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002772/0.3216, allocations: 137.7 kB / 0.5695 GB, free: 13.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.3218, allocations: 54.47 kB / 0.5696 GB, free: 13.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.3218, allocations: 4 kB / 0.5696 GB, free: 13.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006624/0.3225, allocations: 213.1 kB / 0.5698 GB, free: 13.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.565e-05/0.3225, allocations: 6.344 kB / 0.5698 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/0.3226, allocations: 4 kB / 0.5698 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.324e-05/0.3226, allocations: 8.469 kB / 0.5698 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000388/0.323, allocations: 63.91 kB / 0.5699 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.582e-05/0.3231, allocations: 7.938 kB / 0.5699 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002998/0.3234, allocations: 31.69 kB / 0.5699 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-05/0.3234, allocations: 15.94 kB / 0.5699 GB, free: 13.44 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002585/0.3237, allocations: 125.8 kB / 0.57 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.737e-05/0.3238, allocations: 23.81 kB / 0.5701 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005685/0.3244, allocations: 151 kB / 0.5702 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.526e-05/0.3244, allocations: 8 kB / 0.5702 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.3244, allocations: 0 / 0.5702 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.3245, allocations: 3.984 kB / 0.5702 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005039/0.325, allocations: 217.4 kB / 0.5704 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.325, allocations: 0 / 0.5704 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001899/0.3252, allocations: 35.97 kB / 0.5705 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.3252, allocations: 0 / 0.5705 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.3253, allocations: 4 kB / 0.5705 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3253, allocations: 0 / 0.5705 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3253, allocations: 0 / 0.5705 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004971/0.3258, allocations: 233.9 kB / 0.5707 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001909/0.326, allocations: 109 kB / 0.5708 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.215e-05/0.326, allocations: 8 kB / 0.5708 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000375/0.3264, allocations: 15.98 kB / 0.5708 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.3265, allocations: 11.98 kB / 0.5708 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.589e-05/0.3265, allocations: 15.98 kB / 0.5708 GB, free: 12.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000173/0.3267, allocations: 117.8 kB / 0.571 GB, free: 12.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.795e-06/0.3267, allocations: 0 / 0.571 GB, free: 12.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007869/0.3275, allocations: 91.77 kB / 0.571 GB, free: 12.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001569/0.3291, allocations: 0.8144 MB / 0.5718 GB, free: 11.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004503/0.3296, allocations: 120.6 kB / 0.572 GB, free: 11.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.3296, allocations: 0 / 0.572 GB, free: 11.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.3297, allocations: 40.86 kB / 0.572 GB, free: 11.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007234/0.3305, allocations: 55.95 kB / 0.572 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004944/0.3354, allocations: 3.26 MB / 0.5752 GB, free: 7.777 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007692/0.3363, allocations: 0.721 MB / 0.5759 GB, free: 7.031 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003962/0.3367, allocations: 49.89 kB / 0.576 GB, free: 6.984 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.3368, allocations: 47.42 kB / 0.576 GB, free: 6.938 MB / 446.1 MB Notification: Performance of SimCode: time 1.703e-06/0.3369, allocations: 0 / 0.576 GB, free: 6.938 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02832/0.3652, allocations: 4.727 MB / 0.5806 GB, free: 2.359 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003062/0.3656, allocations: 160.5 kB / 0.5808 GB, free: 2.121 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.106/3.471, allocations: 3.984 kB / 0.5808 GB, free: 2.117 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/linux/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) Environment - environmentSimulation: