Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_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.005277/0.005277, allocations: 101.8 kB / 15.73 MB, free: 5.555 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.001302/0.001302, allocations: 191.4 kB / 16.67 MB, free: 5.484 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.375 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.9856/0.9856, allocations: 143.3 MB / 433.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 63.91 kB / 0.5953 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3477, allocations: 82.02 MB / 0.6754 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001937/0.3497, allocations: 1.263 MB / 0.6766 GB, free: 15.97 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.003783/0.3535, allocations: 2.929 MB / 0.6795 GB, free: 13.61 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.864e-05/0.3535, allocations: 0 / 0.6795 GB, free: 13.61 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 1.989e-05/0.3536, allocations: 5.25 kB / 0.6795 GB, free: 13.6 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 4.525e-05/0.3536, allocations: 3.938 kB / 0.6795 GB, free: 13.6 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004537/0.3541, allocations: 104.1 kB / 0.6796 GB, free: 13.52 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 7.976e-05/0.3542, allocations: 42.69 kB / 0.6796 GB, free: 13.5 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 3.347e-05/0.3542, allocations: 2.469 kB / 0.6796 GB, free: 13.5 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004827/0.3547, allocations: 154.6 kB / 0.6798 GB, free: 13.41 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 4.376e-05/0.3548, allocations: 16.55 kB / 0.6798 GB, free: 13.4 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.3548, allocations: 3.125 kB / 0.6798 GB, free: 13.4 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/0.355, allocations: 63.55 kB / 0.6799 GB, free: 13.36 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 1.731e-05/0.355, allocations: 10.69 kB / 0.6799 GB, free: 13.36 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 2.953e-05/0.355, allocations: 14.5 kB / 0.6799 GB, free: 13.35 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.3552, allocations: 67.7 kB / 0.6799 GB, free: 13.31 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3552, allocations: 4 kB / 0.6799 GB, free: 13.31 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3552, allocations: 1.25 kB / 0.68 GB, free: 13.31 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.3552, allocations: 0 / 0.68 GB, free: 13.31 MB / 0.5138 GB 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.0004569/0.3557, allocations: 345.6 kB / 0.6803 GB, free: 12.94 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.3557, allocations: 13.17 kB / 0.6803 GB, free: 12.94 MB / 0.5138 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.763e-05/0.3558, allocations: 35.91 kB / 0.6803 GB, free: 12.89 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.3558, allocations: 4.281 kB / 0.6803 GB, free: 12.89 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.356, allocations: 161.5 kB / 0.6805 GB, free: 12.7 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.356, allocations: 9.484 kB / 0.6805 GB, free: 12.69 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.356, allocations: 11.69 kB / 0.6805 GB, free: 12.68 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.3562, allocations: 62.14 kB / 0.6806 GB, free: 12.63 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3562, allocations: 0 / 0.6806 GB, free: 12.63 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.3562, allocations: 5.75 kB / 0.6806 GB, free: 12.62 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.3562, allocations: 0 / 0.6806 GB, free: 12.62 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.393e-05/0.3563, allocations: 18.75 kB / 0.6806 GB, free: 12.62 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001963/0.3565, allocations: 169.2 kB / 0.6807 GB, free: 12.41 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.3566, allocations: 56.22 kB / 0.6808 GB, free: 12.37 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.66e-05/0.3566, allocations: 24.23 kB / 0.6808 GB, free: 12.35 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007638/0.3574, allocations: 0.5905 MB / 0.6814 GB, free: 11.69 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.3574, allocations: 35.62 kB / 0.6814 GB, free: 11.65 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.3574, allocations: 0 / 0.6814 GB, free: 11.65 MB / 0.5138 GB Notification: Performance of matching and sorting (n=7): time 0.0005901/0.358, allocations: 299.7 kB / 0.6817 GB, free: 11.36 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.3581, allocations: 52.47 kB / 0.6818 GB, free: 11.29 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.816e-05/0.3582, allocations: 105.5 kB / 0.6819 GB, free: 11.18 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.3582, allocations: 27.7 kB / 0.6819 GB, free: 11.15 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 4.85e-05/0.3582, allocations: 89.11 kB / 0.682 GB, free: 11.06 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.3583, allocations: 31.16 kB / 0.682 GB, free: 11.04 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.3583, allocations: 25.62 kB / 0.682 GB, free: 11.01 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.3585, allocations: 320 kB / 0.6823 GB, free: 10.69 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.098e-05/0.3585, allocations: 15.66 kB / 0.6824 GB, free: 10.68 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.799e-05/0.3586, allocations: 53.36 kB / 0.6824 GB, free: 10.62 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.899e-05/0.3587, allocations: 74.2 kB / 0.6825 GB, free: 10.55 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3587, allocations: 3.938 kB / 0.6825 GB, free: 10.55 MB / 0.5138 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001425/0.3588, allocations: 90.98 kB / 0.6826 GB, free: 10.49 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.3588, allocations: 6.094 kB / 0.6826 GB, free: 10.49 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3589, allocations: 1.141 kB / 0.6826 GB, free: 10.49 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3589, allocations: 2.469 kB / 0.6826 GB, free: 10.49 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.655e-05/0.359, allocations: 21.31 kB / 0.6826 GB, free: 10.49 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.359, allocations: 10.48 kB / 0.6826 GB, free: 10.48 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.094e-05/0.359, allocations: 12.95 kB / 0.6826 GB, free: 10.47 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.359, allocations: 3.562 kB / 0.6826 GB, free: 10.47 MB / 0.5138 GB 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 8.035e-05/0.3591, allocations: 117.4 kB / 0.6827 GB, free: 10.35 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.956e-05/0.3592, allocations: 10.22 kB / 0.6827 GB, free: 10.34 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.462e-05/0.3592, allocations: 9.156 kB / 0.6828 GB, free: 10.34 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3592, allocations: 1.094 kB / 0.6828 GB, free: 10.34 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3592, allocations: 0 / 0.6828 GB, free: 10.34 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/0.3592, allocations: 9.219 kB / 0.6828 GB, free: 10.33 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002503/0.3595, allocations: 173.8 kB / 0.6829 GB, free: 10.12 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3595, allocations: 448 / 0.6829 GB, free: 10.12 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.643e-05/0.3596, allocations: 20.45 kB / 0.683 GB, free: 10.12 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3596, allocations: 1.188 kB / 0.683 GB, free: 10.12 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/0.3596, allocations: 7.938 kB / 0.683 GB, free: 10.11 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3596, allocations: 1.25 kB / 0.683 GB, free: 10.11 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3596, allocations: 0 / 0.683 GB, free: 10.11 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.3598, allocations: 177.1 kB / 0.6831 GB, free: 9.949 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 5.339e-05/0.3599, allocations: 83.42 kB / 0.6832 GB, free: 9.852 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.3599, allocations: 1.125 kB / 0.6832 GB, free: 9.852 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.36, allocations: 10.25 kB / 0.6832 GB, free: 9.844 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.848e-05/0.36, allocations: 6.062 kB / 0.6832 GB, free: 9.84 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.962e-06/0.36, allocations: 6.156 kB / 0.6832 GB, free: 9.836 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 4.16e-05/0.3601, allocations: 78.56 kB / 0.6833 GB, free: 9.762 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3601, allocations: 0 / 0.6833 GB, free: 9.762 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0002352/0.3603, allocations: 14.28 kB / 0.6833 GB, free: 9.758 MB / 0.5138 GB 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.0005263/0.3609, allocations: 0.7097 MB / 0.684 GB, free: 9.066 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0001236/0.361, allocations: 39.02 kB / 0.6841 GB, free: 9.055 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.361, allocations: 3.938 kB / 0.6841 GB, free: 9.051 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 2.71e-05/0.361, allocations: 15.25 kB / 0.6841 GB, free: 9.047 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.3613, allocations: 15.5 kB / 0.6841 GB, free: 9.035 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.363, allocations: 1.529 MB / 0.6856 GB, free: 7.555 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.3633, allocations: 0.6852 MB / 0.6862 GB, free: 6.852 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 4.723e-05/0.3634, allocations: 10.8 kB / 0.6863 GB, free: 6.844 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.366e-05/0.3634, allocations: 15.84 kB / 0.6863 GB, free: 6.832 MB / 0.5138 GB Notification: Performance of SimCode: time 2.465e-06/0.3634, allocations: 3.938 kB / 0.6863 GB, free: 6.828 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02184/0.3853, allocations: 1.699 MB / 0.6879 GB, free: 5.938 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.634/8.019, allocations: 2.562 kB / 0.6879 GB, free: 5.938 MB / 0.5138 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.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 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)