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.004294/0.004294, 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.001069/0.001069, allocations: 194.2 kB / 16.68 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.297/1.297, 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 0.9555/0.9555, allocations: 143 MB / 433.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.91 kB / 0.595 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3707, allocations: 82.03 MB / 0.6751 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck): time 0.001938/0.3727, allocations: 1.25 MB / 0.6764 GB, free: 120 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003474/0.3762, allocations: 3.268 MB / 0.6795 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.653e-05/0.3762, allocations: 0 / 0.6795 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.144e-05/0.3762, allocations: 5.109 kB / 0.6796 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.383e-05/0.3763, allocations: 3.938 kB / 0.6796 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004885/0.3768, allocations: 107.5 kB / 0.6797 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.242e-05/0.3769, allocations: 45.22 kB / 0.6797 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.742e-05/0.3769, allocations: 2.281 kB / 0.6797 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.593e-05/0.377, allocations: 17.3 kB / 0.6797 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.392e-05/0.3771, allocations: 22.25 kB / 0.6797 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.3771, allocations: 2.031 kB / 0.6797 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000223/0.3773, allocations: 73.69 kB / 0.6798 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.3773, allocations: 9.234 kB / 0.6798 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.229e-05/0.3774, allocations: 11.69 kB / 0.6798 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.3776, allocations: 71.66 kB / 0.6799 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3776, allocations: 0 / 0.6799 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3776, allocations: 7.938 kB / 0.6799 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.3776, allocations: 1.344 kB / 0.6799 GB, free: 13.21 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.0004248/0.378, allocations: 351.3 kB / 0.6802 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.3781, allocations: 9.75 kB / 0.6803 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.473e-05/0.3781, allocations: 36.34 kB / 0.6803 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.543e-05/0.3782, allocations: 4.781 kB / 0.6803 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.646e-05/0.3783, allocations: 161.5 kB / 0.6805 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.3783, allocations: 10.53 kB / 0.6805 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.3784, allocations: 11.59 kB / 0.6805 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.3785, allocations: 54.23 kB / 0.6805 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.3785, allocations: 0 / 0.6805 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.3785, allocations: 0.9688 kB / 0.6805 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.3785, allocations: 1.156 kB / 0.6805 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.229e-05/0.3786, allocations: 21.77 kB / 0.6805 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000158/0.3787, allocations: 165.3 kB / 0.6807 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.13e-05/0.3788, allocations: 53.11 kB / 0.6808 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.743e-05/0.3789, allocations: 15.48 kB / 0.6808 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000621/0.3795, allocations: 0.6019 MB / 0.6814 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.3795, allocations: 35.59 kB / 0.6814 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.3795, allocations: 0 / 0.6814 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0005231/0.3801, allocations: 303.7 kB / 0.6817 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.3801, allocations: 52.81 kB / 0.6817 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.028e-05/0.3802, allocations: 105.7 kB / 0.6818 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.3802, allocations: 31.05 kB / 0.6819 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.145e-05/0.3802, allocations: 89.27 kB / 0.6819 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.3803, allocations: 30.5 kB / 0.682 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.3803, allocations: 30.08 kB / 0.682 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.3804, allocations: 315.8 kB / 0.6823 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.182e-05/0.3805, allocations: 20.67 kB / 0.6823 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.457e-05/0.3805, allocations: 52.77 kB / 0.6824 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.171e-05/0.3806, allocations: 78.53 kB / 0.6824 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3806, allocations: 0 / 0.6824 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001322/0.3808, allocations: 95.36 kB / 0.6825 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.3808, allocations: 5.625 kB / 0.6825 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.3808, allocations: 1.219 kB / 0.6825 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.3808, allocations: 2.281 kB / 0.6825 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.377e-05/0.3809, allocations: 20.8 kB / 0.6826 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.3809, allocations: 2.734 kB / 0.6826 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.581e-05/0.381, allocations: 9.562 kB / 0.6826 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.381, allocations: 11.39 kB / 0.6826 GB, free: 10.37 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 7.498e-05/0.3811, allocations: 117.6 kB / 0.6827 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/0.3811, allocations: 10.28 kB / 0.6827 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.928e-05/0.3811, allocations: 9.125 kB / 0.6827 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.3811, allocations: 5.031 kB / 0.6827 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.3811, allocations: 3.984 kB / 0.6827 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3811, allocations: 3.938 kB / 0.6827 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.3814, allocations: 169.5 kB / 0.6829 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3814, allocations: 5.156 kB / 0.6829 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.292e-05/0.3815, allocations: 13.03 kB / 0.6829 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3815, allocations: 0 / 0.6829 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.3815, allocations: 5.062 kB / 0.6829 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3815, allocations: 1.5 kB / 0.6829 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3815, allocations: 0 / 0.6829 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.3817, allocations: 180.6 kB / 0.6831 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-05/0.3818, allocations: 84.42 kB / 0.6832 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.3818, allocations: 9.188 kB / 0.6832 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.814e-05/0.3819, allocations: 1.281 kB / 0.6832 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.071e-05/0.3819, allocations: 6.594 kB / 0.6832 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.3819, allocations: 10.98 kB / 0.6832 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.3e-05/0.382, allocations: 77.44 kB / 0.6833 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.382, allocations: 0 / 0.6833 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000234/0.3822, allocations: 14.66 kB / 0.6833 GB, free: 9.66 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.0004097/0.3826, allocations: 0.7076 MB / 0.684 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001096/0.3828, allocations: 42.31 kB / 0.684 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3828, allocations: 1.125 kB / 0.684 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.318e-05/0.3828, allocations: 22.33 kB / 0.684 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.3831, allocations: 9.375 kB / 0.6841 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.3844, allocations: 1.535 MB / 0.6855 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.3847, allocations: 0.682 MB / 0.6862 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.684e-05/0.3847, allocations: 11.33 kB / 0.6862 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.706e-05/0.3848, allocations: 15.38 kB / 0.6862 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of SimCode: time 4.41e-07/0.3848, allocations: 0 / 0.6862 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01659/0.4014, allocations: 1.667 MB / 0.6879 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.107/7.509, allocations: 8.812 kB / 0.6879 GB, free: 5.816 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)