Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.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.AirDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck",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.00154/0.00154, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.318/1.318, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.02/1.02, allocations: 143 MB / 433.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 59.89 kB / 0.5143 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1577, allocations: 82.05 MB / 0.5944 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck): time 0.002353/0.1601, allocations: 1.325 MB / 0.5957 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3908/0.5509, allocations: 148.1 MB / 0.7403 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.912e-05/0.551, allocations: 0 / 0.7403 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.385e-05/0.5511, allocations: 0 / 0.7403 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.386e-05/0.5512, allocations: 20.48 kB / 0.7403 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008676/0.552, allocations: 326.3 kB / 0.7406 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.864e-05/0.5521, allocations: 69.39 kB / 0.7407 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.506e-05/0.5522, allocations: 3.844 kB / 0.7407 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.266e-05/0.5522, allocations: 26.61 kB / 0.7407 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.875e-05/0.5523, allocations: 31.39 kB / 0.7408 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.5523, allocations: 8.344 kB / 0.7408 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008152/0.5532, allocations: 412.8 kB / 0.7412 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.555e-05/0.5532, allocations: 14.59 kB / 0.7412 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.636e-05/0.5533, allocations: 31.91 kB / 0.7412 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000325/0.5536, allocations: 151.8 kB / 0.7413 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.5536, allocations: 0 / 0.7413 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5536, allocations: 6.562 kB / 0.7413 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.5536, allocations: 0 / 0.7413 GB, free: 4.18 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004545/0.5541, allocations: 393.4 kB / 0.7417 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.5542, allocations: 10.09 kB / 0.7417 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.888e-05/0.5542, allocations: 37.59 kB / 0.7418 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000419/0.5546, allocations: 41.86 kB / 0.7418 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.5547, allocations: 172.5 kB / 0.742 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.5548, allocations: 7.125 kB / 0.742 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.5548, allocations: 8.531 kB / 0.742 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.555, allocations: 74.47 kB / 0.7421 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.555, allocations: 0 / 0.7421 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.555, allocations: 7.344 kB / 0.7421 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.555, allocations: 2.094 kB / 0.7421 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.5551, allocations: 56.02 kB / 0.7421 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001884/0.5553, allocations: 191.6 kB / 0.7423 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.5555, allocations: 85.95 kB / 0.7424 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.042e-05/0.5556, allocations: 35.09 kB / 0.7424 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002283/0.5558, allocations: 177.2 kB / 0.7426 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.5559, allocations: 37.41 kB / 0.7426 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.5559, allocations: 3.938 kB / 0.7426 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001288/0.5572, allocations: 0.5398 MB / 0.7432 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.5572, allocations: 53.69 kB / 0.7432 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.638e-05/0.5573, allocations: 102.7 kB / 0.7433 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.5573, allocations: 31.64 kB / 0.7433 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.658e-05/0.5573, allocations: 81.03 kB / 0.7434 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.144e-05/0.5574, allocations: 65.78 kB / 0.7435 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.521e-05/0.5575, allocations: 45.81 kB / 0.7435 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.296e-05/0.5576, allocations: 318.6 kB / 0.7438 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.256e-05/0.5576, allocations: 36.61 kB / 0.7439 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.421e-05/0.5577, allocations: 73.78 kB / 0.7439 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.5579, allocations: 118.3 kB / 0.744 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.5579, allocations: 4 kB / 0.744 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002177/0.5581, allocations: 157.2 kB / 0.7442 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.5581, allocations: 6.969 kB / 0.7442 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.5582, allocations: 3.984 kB / 0.7442 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.5582, allocations: 2.438 kB / 0.7442 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.5583, allocations: 39.64 kB / 0.7442 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.5584, allocations: 7.25 kB / 0.7443 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.79e-05/0.5584, allocations: 7.938 kB / 0.7443 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.5584, allocations: 4.969 kB / 0.7443 GB, free: 1.668 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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.253e-05/0.5585, allocations: 124.1 kB / 0.7444 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/0.5586, allocations: 8.125 kB / 0.7444 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.691e-05/0.5586, allocations: 16.44 kB / 0.7444 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.5586, allocations: 2.5 kB / 0.7444 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.5586, allocations: 7.531 kB / 0.7444 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.5586, allocations: 7.922 kB / 0.7444 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.5588, allocations: 192.2 kB / 0.7446 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5588, allocations: 0 / 0.7446 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.559, allocations: 35.48 kB / 0.7446 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.559, allocations: 0.625 kB / 0.7446 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.559, allocations: 10.38 kB / 0.7447 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.559, allocations: 0 / 0.7447 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.559, allocations: 0 / 0.7447 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.5593, allocations: 221.7 kB / 0.7449 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.411e-05/0.5594, allocations: 94.31 kB / 0.745 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.5594, allocations: 2.812 kB / 0.745 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.5596, allocations: 10.47 kB / 0.745 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.347e-05/0.5596, allocations: 13.08 kB / 0.745 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.5596, allocations: 12.97 kB / 0.745 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.037e-05/0.5597, allocations: 82.08 kB / 0.7451 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5597, allocations: 0 / 0.7451 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002167/0.5599, allocations: 24.88 kB / 0.7451 GB, free: 0.9336 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,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 (19): * Single equations (assignments): 19 * 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.000504/0.5604, allocations: 0.7447 MB / 0.7458 GB, free: 268 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001996/0.5606, allocations: 122.2 kB / 0.7459 GB, free: 216 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5606, allocations: 0 / 0.7459 GB, free: 216 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.574e-05/0.5607, allocations: 52.12 kB / 0.746 GB, free: 200 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.561, allocations: 23.02 kB / 0.746 GB, free: 184 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.5627, allocations: 1.809 MB / 0.7478 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.5629, allocations: 0.702 MB / 0.7485 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001282/0.5631, allocations: 22.84 kB / 0.7485 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.571e-05/0.5631, allocations: 27.33 kB / 0.7485 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of SimCode: time 2e-07/0.5631, allocations: 0 / 0.7485 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01757/0.5807, allocations: 2.397 MB / 0.7508 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.414/7.995, allocations: 10.34 kB / 0.7509 GB, free: 12.62 MB / 0.5762 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck_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_AirDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1)