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.001092/0.001092, allocations: 101.2 kB / 16.27 MB, free: 5.93 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.001008/0.001008, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.281/1.281, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7148/0.7148, allocations: 122.9 MB / 413.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 59.91 kB / 0.4912 GB, free: 7.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.317, allocations: 77.93 MB / 0.5673 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001971/0.319, allocations: 1.253 MB / 0.5685 GB, free: 31.76 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002668/0.3217, allocations: 2.917 MB / 0.5713 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.845e-05/0.3217, allocations: 0.5625 kB / 0.5713 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.562e-05/0.3217, allocations: 4.594 kB / 0.5714 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.711e-05/0.3218, allocations: 11.31 kB / 0.5714 GB, free: 29.67 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003828/0.3221, allocations: 99.83 kB / 0.5715 GB, free: 29.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.504e-05/0.3222, allocations: 31.41 kB / 0.5715 GB, free: 29.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.795e-05/0.3222, allocations: 3.609 kB / 0.5715 GB, free: 29.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003677/0.3226, allocations: 159.8 kB / 0.5716 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.573e-05/0.3227, allocations: 20.03 kB / 0.5717 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.3227, allocations: 1.062 kB / 0.5717 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.3228, allocations: 62.69 kB / 0.5717 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.3229, allocations: 8.281 kB / 0.5717 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.592e-05/0.3229, allocations: 20.94 kB / 0.5718 GB, free: 29.51 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.323, allocations: 61.59 kB / 0.5718 GB, free: 29.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.323, allocations: 0.7969 kB / 0.5718 GB, free: 29.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.323, allocations: 0 / 0.5718 GB, free: 29.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.3231, allocations: 0.5 kB / 0.5718 GB, free: 29.49 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.0002767/0.3233, allocations: 352.1 kB / 0.5721 GB, free: 29.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.3234, allocations: 11.86 kB / 0.5722 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.47e-05/0.3234, allocations: 41.23 kB / 0.5722 GB, free: 29.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.77e-05/0.3234, allocations: 3.844 kB / 0.5722 GB, free: 29.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.382e-05/0.3235, allocations: 161.6 kB / 0.5724 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.3235, allocations: 6.766 kB / 0.5724 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.3235, allocations: 13.28 kB / 0.5724 GB, free: 28.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.947e-05/0.3236, allocations: 54 kB / 0.5724 GB, free: 28.83 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.3237, allocations: 0 / 0.5724 GB, free: 28.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.3237, allocations: 6 kB / 0.5724 GB, free: 28.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3237, allocations: 0.875 kB / 0.5724 GB, free: 28.83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.986e-05/0.3237, allocations: 25.84 kB / 0.5725 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001114/0.3239, allocations: 174.5 kB / 0.5726 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.128e-05/0.3239, allocations: 54.52 kB / 0.5727 GB, free: 28.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.534e-05/0.324, allocations: 15.59 kB / 0.5727 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004815/0.3245, allocations: 0.588 MB / 0.5733 GB, free: 27.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.215e-05/0.3245, allocations: 32.45 kB / 0.5733 GB, free: 27.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.3245, allocations: 0.8125 kB / 0.5733 GB, free: 27.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004418/0.3249, allocations: 304.9 kB / 0.5736 GB, free: 27.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.746e-05/0.325, allocations: 53.34 kB / 0.5736 GB, free: 27.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.064e-05/0.325, allocations: 104.7 kB / 0.5737 GB, free: 27.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.325, allocations: 26.92 kB / 0.5738 GB, free: 27.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.123e-05/0.3251, allocations: 95 kB / 0.5739 GB, free: 27.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.343e-05/0.3251, allocations: 22.23 kB / 0.5739 GB, free: 27.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.3251, allocations: 24.14 kB / 0.5739 GB, free: 27.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.539e-05/0.3252, allocations: 317.8 kB / 0.5742 GB, free: 26.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.589e-05/0.3252, allocations: 15.16 kB / 0.5742 GB, free: 26.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.741e-05/0.3252, allocations: 48.86 kB / 0.5743 GB, free: 26.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.728e-05/0.3253, allocations: 76.5 kB / 0.5743 GB, free: 26.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3253, allocations: 5.188 kB / 0.5743 GB, free: 26.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001224/0.3254, allocations: 99.34 kB / 0.5744 GB, free: 26.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.3255, allocations: 7.031 kB / 0.5744 GB, free: 26.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3255, allocations: 4.047 kB / 0.5744 GB, free: 26.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.3255, allocations: 2.5 kB / 0.5744 GB, free: 26.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.363e-05/0.3256, allocations: 23.25 kB / 0.5745 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3256, allocations: 2.406 kB / 0.5745 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.721e-05/0.3256, allocations: 7.828 kB / 0.5745 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.3256, allocations: 7.25 kB / 0.5745 GB, free: 26.77 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.754e-05/0.3257, allocations: 123.9 kB / 0.5746 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.3257, allocations: 6.734 kB / 0.5746 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.074e-05/0.3257, allocations: 8.75 kB / 0.5746 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.3257, allocations: 1.281 kB / 0.5746 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3258, allocations: 5.984 kB / 0.5746 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.3258, allocations: 3.938 kB / 0.5746 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.3259, allocations: 169.4 kB / 0.5748 GB, free: 26.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.326, allocations: 0 / 0.5748 GB, free: 26.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.26e-05/0.326, allocations: 17 kB / 0.5748 GB, free: 26.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.326, allocations: 0.5625 kB / 0.5748 GB, free: 26.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.3261, allocations: 5.219 kB / 0.5748 GB, free: 26.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3261, allocations: 4.594 kB / 0.5748 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3261, allocations: 6.719 kB / 0.5748 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.3262, allocations: 179.1 kB / 0.575 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.045e-05/0.3263, allocations: 82.84 kB / 0.5751 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.3263, allocations: 2.219 kB / 0.5751 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.3264, allocations: 2.094 kB / 0.5751 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.575e-05/0.3264, allocations: 10.8 kB / 0.5751 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.3264, allocations: 6.344 kB / 0.5751 GB, free: 26.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.726e-05/0.3264, allocations: 77.62 kB / 0.5752 GB, free: 26.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3264, allocations: 0 / 0.5752 GB, free: 26.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002321/0.3267, allocations: 15.56 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.0002519/0.3269, allocations: 0.7069 MB / 0.5759 GB, free: 25.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.838e-05/0.327, allocations: 48.58 kB / 0.5759 GB, free: 25.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3271, allocations: 0 / 0.5759 GB, free: 25.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.173e-05/0.3271, allocations: 18.59 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.0002354/0.3273, allocations: 12.05 kB / 0.5759 GB, free: 25.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009768/0.3283, allocations: 1.529 MB / 0.5774 GB, free: 23.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.95e-05/0.3284, allocations: 0.6829 MB / 0.5781 GB, free: 23.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.357e-05/0.3285, allocations: 8.625 kB / 0.5781 GB, free: 23.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.494e-05/0.3285, allocations: 12.17 kB / 0.5781 GB, free: 23.28 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3285, allocations: 0 / 0.5781 GB, free: 23.28 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01557/0.3441, allocations: 1.632 MB / 0.5797 GB, free: 22.92 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.972/7.316, allocations: 13.58 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)