Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.WaterDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck",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.004242/0.004242, allocations: 98.64 kB / 15.73 MB, free: 6.047 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.001035/0.001035, allocations: 194 kB / 16.67 MB, free: 5.969 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 1.012/1.012, allocations: 143 MB / 433.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 71.89 kB / 0.595 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3634, allocations: 82.02 MB / 0.6751 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck): time 0.001875/0.3653, allocations: 1.265 MB / 0.6764 GB, free: 176 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003281/0.3686, allocations: 3.268 MB / 0.6796 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.271e-05/0.3686, allocations: 0 / 0.6796 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.749e-05/0.3686, allocations: 0 / 0.6796 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.077e-05/0.3687, allocations: 8.953 kB / 0.6796 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004578/0.3691, allocations: 103.4 kB / 0.6797 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.22e-05/0.3692, allocations: 44.75 kB / 0.6797 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.243e-05/0.3693, allocations: 6.391 kB / 0.6797 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.774e-05/0.3693, allocations: 9.312 kB / 0.6797 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.685e-05/0.3694, allocations: 18.05 kB / 0.6797 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.3694, allocations: 2.219 kB / 0.6797 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002078/0.3696, allocations: 77.73 kB / 0.6798 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.586e-05/0.3696, allocations: 9.141 kB / 0.6798 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.3697, allocations: 19.89 kB / 0.6798 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.3698, allocations: 80.16 kB / 0.6799 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.3699, allocations: 0 / 0.6799 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3699, allocations: 0 / 0.6799 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.3699, allocations: 1.125 kB / 0.6799 GB, free: 13.27 MB / 0.5137 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.0003906/0.3703, allocations: 343.8 kB / 0.6802 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.3703, allocations: 13.95 kB / 0.6803 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.716e-05/0.3703, allocations: 39.69 kB / 0.6803 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.1e-05/0.3704, allocations: 5.312 kB / 0.6803 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.592e-05/0.3705, allocations: 165.5 kB / 0.6805 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.3706, allocations: 5.391 kB / 0.6805 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.3706, allocations: 8.531 kB / 0.6805 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.3707, allocations: 57.5 kB / 0.6805 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.3707, allocations: 0 / 0.6805 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.3707, allocations: 5.156 kB / 0.6805 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3708, allocations: 5.25 kB / 0.6805 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.145e-05/0.3708, allocations: 21.97 kB / 0.6806 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001561/0.371, allocations: 165.6 kB / 0.6807 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.396e-05/0.3711, allocations: 52.31 kB / 0.6808 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.641e-05/0.3711, allocations: 20.72 kB / 0.6808 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006175/0.3717, allocations: 0.5933 MB / 0.6814 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.3718, allocations: 39.69 kB / 0.6814 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.3718, allocations: 0 / 0.6814 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0005167/0.3723, allocations: 300.1 kB / 0.6817 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.3723, allocations: 56.48 kB / 0.6817 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.312e-05/0.3724, allocations: 106 kB / 0.6818 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.3724, allocations: 26.8 kB / 0.6819 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.525e-05/0.3725, allocations: 85.12 kB / 0.682 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.3725, allocations: 31.08 kB / 0.682 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-05/0.3725, allocations: 29.75 kB / 0.682 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.151e-05/0.3726, allocations: 316 kB / 0.6823 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.651e-05/0.3727, allocations: 12.09 kB / 0.6823 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.649e-05/0.3727, allocations: 52.36 kB / 0.6824 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.607e-05/0.3728, allocations: 82.67 kB / 0.6824 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3728, allocations: 1.062 kB / 0.6825 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001287/0.373, allocations: 89.83 kB / 0.6825 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.373, allocations: 5.656 kB / 0.6825 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.373, allocations: 2.219 kB / 0.6825 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.373, allocations: 2.688 kB / 0.6825 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.394e-05/0.3731, allocations: 24.33 kB / 0.6826 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.3731, allocations: 2.188 kB / 0.6826 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.001e-05/0.3731, allocations: 13 kB / 0.6826 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.3732, allocations: 4.844 kB / 0.6826 GB, free: 10.43 MB / 0.5137 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 6.794e-05/0.3732, allocations: 113.1 kB / 0.6827 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.3733, allocations: 14 kB / 0.6827 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.339e-05/0.3733, allocations: 9.031 kB / 0.6827 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3733, allocations: 1.062 kB / 0.6827 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3733, allocations: 9.094 kB / 0.6827 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3733, allocations: 3.938 kB / 0.6827 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.3735, allocations: 178 kB / 0.6829 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3736, allocations: 0 / 0.6829 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.295e-05/0.3736, allocations: 17.45 kB / 0.6829 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3737, allocations: 0 / 0.6829 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.3737, allocations: 1.125 kB / 0.6829 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3737, allocations: 1.156 kB / 0.6829 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3737, allocations: 3.938 kB / 0.6829 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.3739, allocations: 181 kB / 0.6831 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.138e-05/0.3739, allocations: 79.55 kB / 0.6832 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.3739, allocations: 1.25 kB / 0.6832 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.374, allocations: 10.47 kB / 0.6832 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.771e-05/0.3741, allocations: 6.062 kB / 0.6832 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.3741, allocations: 2.125 kB / 0.6832 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.161e-05/0.3741, allocations: 81.86 kB / 0.6833 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3741, allocations: 0 / 0.6833 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002314/0.3743, allocations: 14.72 kB / 0.6833 GB, free: 9.719 MB / 0.5137 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.0003782/0.3747, allocations: 0.7117 MB / 0.684 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001042/0.3748, allocations: 37.77 kB / 0.684 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3749, allocations: 2.281 kB / 0.684 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.428e-05/0.3749, allocations: 21.56 kB / 0.684 GB, free: 9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.3752, allocations: 12.38 kB / 0.684 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.3764, allocations: 1.531 MB / 0.6855 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.3766, allocations: 0.6818 MB / 0.6862 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.211e-05/0.3767, allocations: 7.312 kB / 0.6862 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.332e-05/0.3767, allocations: 16.41 kB / 0.6862 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.3767, allocations: 0 / 0.6862 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01795/0.3947, allocations: 1.675 MB / 0.6879 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.064/7.459, allocations: 14.27 kB / 0.6879 GB, free: 5.863 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck_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_WaterDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1)