Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck",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.0009463/0.0009464, allocations: 98.44 kB / 16.27 MB, free: 5.961 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.0009206/0.0009206, allocations: 189.5 kB / 17.19 MB, free: 5.59 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.157/1.157, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6685/0.6685, allocations: 122.9 MB / 413.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 63.91 kB / 0.4912 GB, free: 7.312 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2683, allocations: 77.92 MB / 0.5673 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001937/0.2703, allocations: 1.253 MB / 0.5685 GB, free: 31.76 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002599/0.2729, allocations: 2.919 MB / 0.5713 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.92e-05/0.273, allocations: 0 / 0.5713 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.785e-05/0.273, allocations: 5.297 kB / 0.5713 GB, free: 29.67 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.318e-05/0.273, allocations: 6.5 kB / 0.5714 GB, free: 29.67 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003795/0.2734, allocations: 102.6 kB / 0.5715 GB, free: 29.61 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.102e-05/0.2735, allocations: 35.97 kB / 0.5715 GB, free: 29.6 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.239e-05/0.2735, allocations: 3.844 kB / 0.5715 GB, free: 29.6 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003736/0.2739, allocations: 152.9 kB / 0.5716 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.59e-05/0.2739, allocations: 17.41 kB / 0.5717 GB, free: 29.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.274, allocations: 6.859 kB / 0.5717 GB, free: 29.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.2741, allocations: 66.52 kB / 0.5717 GB, free: 29.51 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.263e-05/0.2741, allocations: 6.297 kB / 0.5717 GB, free: 29.51 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.553e-05/0.2742, allocations: 23.34 kB / 0.5717 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.2743, allocations: 60.44 kB / 0.5718 GB, free: 29.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2743, allocations: 0 / 0.5718 GB, free: 29.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2743, allocations: 3.281 kB / 0.5718 GB, free: 29.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.2743, allocations: 0 / 0.5718 GB, free: 29.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002807/0.2746, allocations: 350.8 kB / 0.5721 GB, free: 29.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.2747, allocations: 10.62 kB / 0.5722 GB, free: 29.11 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.504e-05/0.2747, allocations: 33.03 kB / 0.5722 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.7e-05/0.2747, allocations: 5 kB / 0.5722 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.026e-05/0.2748, allocations: 162.5 kB / 0.5723 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.2748, allocations: 6.562 kB / 0.5724 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.2748, allocations: 9.766 kB / 0.5724 GB, free: 28.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.821e-05/0.2749, allocations: 61.53 kB / 0.5724 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.2749, allocations: 0 / 0.5724 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.2749, allocations: 12.98 kB / 0.5724 GB, free: 28.81 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.2749, allocations: 1.688 kB / 0.5724 GB, free: 28.81 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.7e-05/0.275, allocations: 15.94 kB / 0.5724 GB, free: 28.81 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001083/0.2751, allocations: 168.8 kB / 0.5726 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.424e-05/0.2752, allocations: 58.39 kB / 0.5727 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.511e-05/0.2752, allocations: 18.31 kB / 0.5727 GB, free: 28.56 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004784/0.2757, allocations: 0.5849 MB / 0.5733 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.3e-05/0.2757, allocations: 37.45 kB / 0.5733 GB, free: 27.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.2757, allocations: 0 / 0.5733 GB, free: 27.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004269/0.2762, allocations: 306.2 kB / 0.5736 GB, free: 27.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.068e-05/0.2762, allocations: 54.03 kB / 0.5736 GB, free: 27.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.557e-05/0.2762, allocations: 104.2 kB / 0.5737 GB, free: 27.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.2763, allocations: 25.7 kB / 0.5738 GB, free: 27.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.176e-05/0.2763, allocations: 90.86 kB / 0.5738 GB, free: 27.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.341e-05/0.2763, allocations: 23.78 kB / 0.5739 GB, free: 27.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.2764, allocations: 26.58 kB / 0.5739 GB, free: 27.28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.32e-05/0.2764, allocations: 314.5 kB / 0.5742 GB, free: 26.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.484e-05/0.2764, allocations: 18.89 kB / 0.5742 GB, free: 26.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.642e-05/0.2765, allocations: 58.05 kB / 0.5743 GB, free: 26.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.22e-05/0.2765, allocations: 74.38 kB / 0.5743 GB, free: 26.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.2765, allocations: 2.344 kB / 0.5743 GB, free: 26.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001128/0.2767, allocations: 95.62 kB / 0.5744 GB, free: 26.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.2767, allocations: 6.938 kB / 0.5744 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.2767, allocations: 1.438 kB / 0.5744 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.2767, allocations: 2.75 kB / 0.5744 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.912e-05/0.2768, allocations: 28.73 kB / 0.5745 GB, free: 26.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2768, allocations: 3.875 kB / 0.5745 GB, free: 26.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.363e-05/0.2768, allocations: 9.906 kB / 0.5745 GB, free: 26.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.2768, allocations: 3.281 kB / 0.5745 GB, free: 26.76 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * 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 4.333e-05/0.2769, allocations: 117.8 kB / 0.5746 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.2769, allocations: 3.344 kB / 0.5746 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.089e-05/0.2769, allocations: 8.969 kB / 0.5746 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.2769, allocations: 1.469 kB / 0.5746 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.2769, allocations: 3.781 kB / 0.5746 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2769, allocations: 3.938 kB / 0.5746 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.2771, allocations: 180.3 kB / 0.5748 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.2771, allocations: 1.469 kB / 0.5748 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.457e-05/0.2772, allocations: 18.86 kB / 0.5748 GB, free: 26.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2772, allocations: 2.281 kB / 0.5748 GB, free: 26.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.2772, allocations: 0.9844 kB / 0.5748 GB, free: 26.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.2772, allocations: 2.156 kB / 0.5748 GB, free: 26.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2772, allocations: 3.938 kB / 0.5748 GB, free: 26.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.2774, allocations: 175.8 kB / 0.575 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.735e-05/0.2774, allocations: 81.55 kB / 0.5751 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.2774, allocations: 1.844 kB / 0.5751 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.471e-05/0.2775, allocations: 5.906 kB / 0.5751 GB, free: 26.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.288e-05/0.2775, allocations: 7.828 kB / 0.5751 GB, free: 26.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.2775, allocations: 3.078 kB / 0.5751 GB, free: 26.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.639e-05/0.2776, allocations: 83.91 kB / 0.5752 GB, free: 26.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2776, allocations: 0 / 0.5752 GB, free: 26.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002195/0.2778, allocations: 15.38 kB / 0.5752 GB, free: 26.09 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * 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.0002406/0.278, allocations: 0.7101 MB / 0.5759 GB, free: 25.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.506e-05/0.2781, allocations: 47.02 kB / 0.5759 GB, free: 25.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2782, allocations: 0 / 0.5759 GB, free: 25.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.104e-05/0.2782, allocations: 15.39 kB / 0.5759 GB, free: 25.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.2784, allocations: 12.12 kB / 0.5759 GB, free: 25.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009307/0.2794, allocations: 1.531 MB / 0.5774 GB, free: 23.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.646e-05/0.2795, allocations: 0.6846 MB / 0.5781 GB, free: 23.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.085e-05/0.2795, allocations: 12.83 kB / 0.5781 GB, free: 23.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.837e-05/0.2796, allocations: 16.17 kB / 0.5781 GB, free: 23.27 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2796, allocations: 0 / 0.5781 GB, free: 23.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.099/1.378, allocations: 1.626 MB / 0.5797 GB, free: 22.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.538/8.916, allocations: 13.23 kB / 0.5797 GB, free: 22.91 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)