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-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.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.004921/0.004921, allocations: 99.47 kB / 15.73 MB, free: 5.988 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.001354/0.001354, allocations: 193.8 kB / 16.67 MB, free: 5.918 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.316 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 1.044/1.044, allocations: 143.3 MB / 433.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 63.91 kB / 0.5953 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3764, allocations: 82.02 MB / 0.6754 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck): time 0.001902/0.3784, allocations: 1.266 MB / 0.6766 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003981/0.3824, allocations: 3.264 MB / 0.6798 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.789e-05/0.3824, allocations: 0 / 0.6798 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.915e-05/0.3824, allocations: 0 / 0.6798 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.667e-05/0.3825, allocations: 9.047 kB / 0.6798 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000503/0.383, allocations: 106.4 kB / 0.6799 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.709e-05/0.3831, allocations: 37.48 kB / 0.6799 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.3832, allocations: 10.17 kB / 0.68 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.377e-05/0.3832, allocations: 17.05 kB / 0.68 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.788e-05/0.3833, allocations: 17.89 kB / 0.68 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.3833, allocations: 2.094 kB / 0.68 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002386/0.3835, allocations: 77.3 kB / 0.6801 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.3836, allocations: 13.67 kB / 0.6801 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.193e-05/0.3836, allocations: 11.12 kB / 0.6801 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.3838, allocations: 70.7 kB / 0.6802 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3838, allocations: 0 / 0.6802 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.482e-06/0.3838, allocations: 3.938 kB / 0.6802 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.3838, allocations: 1.156 kB / 0.6802 GB, free: 13.07 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.0004309/0.3843, allocations: 349.3 kB / 0.6805 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.3843, allocations: 9.875 kB / 0.6805 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.646e-05/0.3844, allocations: 35.94 kB / 0.6805 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.402e-05/0.3845, allocations: 12.45 kB / 0.6805 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.3846, allocations: 161.5 kB / 0.6807 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.3846, allocations: 3.188 kB / 0.6807 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.3846, allocations: 6.812 kB / 0.6807 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.3848, allocations: 53.61 kB / 0.6808 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3848, allocations: 1.156 kB / 0.6808 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.3848, allocations: 0 / 0.6808 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.3848, allocations: 1.125 kB / 0.6808 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.562e-05/0.3849, allocations: 27 kB / 0.6808 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001898/0.3851, allocations: 172.8 kB / 0.681 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.684e-05/0.3852, allocations: 49.47 kB / 0.681 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.397e-05/0.3852, allocations: 15.41 kB / 0.681 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007742/0.386, allocations: 0.5943 MB / 0.6816 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.386, allocations: 38.5 kB / 0.6816 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.386, allocations: 1.469 kB / 0.6816 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0006029/0.3867, allocations: 298.6 kB / 0.6819 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.3867, allocations: 53.97 kB / 0.682 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.291e-05/0.3868, allocations: 109.4 kB / 0.6821 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.3868, allocations: 30.86 kB / 0.6821 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.919e-05/0.3869, allocations: 85.06 kB / 0.6822 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.3869, allocations: 34.05 kB / 0.6822 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.387, allocations: 26.53 kB / 0.6822 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3871, allocations: 316.2 kB / 0.6825 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.108e-05/0.3872, allocations: 11.59 kB / 0.6826 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.303e-05/0.3872, allocations: 49.58 kB / 0.6826 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.3873, allocations: 86 kB / 0.6827 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3873, allocations: 1 kB / 0.6827 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000148/0.3875, allocations: 98.48 kB / 0.6828 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3875, allocations: 5.75 kB / 0.6828 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3875, allocations: 5.312 kB / 0.6828 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.3876, allocations: 2.219 kB / 0.6828 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.792e-05/0.3877, allocations: 17.59 kB / 0.6828 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.3877, allocations: 1.062 kB / 0.6828 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.217e-05/0.3877, allocations: 10.22 kB / 0.6828 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.3877, allocations: 7.469 kB / 0.6828 GB, free: 10.24 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 9.117e-05/0.3878, allocations: 121.1 kB / 0.6829 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.3879, allocations: 11.42 kB / 0.683 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/0.3879, allocations: 11.97 kB / 0.683 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3879, allocations: 1.094 kB / 0.683 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3879, allocations: 1.125 kB / 0.683 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3879, allocations: 3.938 kB / 0.683 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.3882, allocations: 169.1 kB / 0.6831 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3882, allocations: 1 kB / 0.6831 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.514e-05/0.3883, allocations: 16.55 kB / 0.6831 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3883, allocations: 1.062 kB / 0.6832 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.3883, allocations: 5.531 kB / 0.6832 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3883, allocations: 0 / 0.6832 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3883, allocations: 80 / 0.6832 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.3885, allocations: 188.7 kB / 0.6833 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-05/0.3886, allocations: 80.23 kB / 0.6834 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.3886, allocations: 1.062 kB / 0.6834 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.3887, allocations: 2.094 kB / 0.6834 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.128e-05/0.3887, allocations: 10.23 kB / 0.6834 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.3887, allocations: 6.438 kB / 0.6834 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.087e-05/0.3888, allocations: 77.47 kB / 0.6835 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3888, allocations: 4 kB / 0.6835 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002412/0.389, allocations: 15.22 kB / 0.6835 GB, free: 9.531 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.0004954/0.3895, allocations: 0.704 MB / 0.6842 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001241/0.3897, allocations: 51.33 kB / 0.6843 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3897, allocations: 0 / 0.6843 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.579e-05/0.3897, allocations: 18.62 kB / 0.6843 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.39, allocations: 15.28 kB / 0.6843 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.3917, allocations: 1.539 MB / 0.6858 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.392, allocations: 0.6905 MB / 0.6865 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.418e-05/0.3921, allocations: 6.969 kB / 0.6865 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.3921, allocations: 15.72 kB / 0.6865 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.3921, allocations: 0 / 0.6865 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0223/0.4144, allocations: 1.672 MB / 0.6881 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.569/7.984, allocations: 6.625 kB / 0.6881 GB, free: 5.676 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)