Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="IBPSA_latest_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.001289/0.001289, allocations: 101.2 kB / 16.27 MB, free: 5.992 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.001355/0.001355, allocations: 185.1 kB / 17.2 MB, free: 5.605 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.27/1.27, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7259/0.7259, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 63.91 kB / 0.4912 GB, free: 7.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3404, allocations: 77.92 MB / 0.5673 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.002063/0.3425, allocations: 1.331 MB / 0.5686 GB, free: 31.78 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1383/0.4809, allocations: 148.1 MB / 0.7132 GB, free: 4.891 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.382e-05/0.481, allocations: 3.938 kB / 0.7132 GB, free: 4.887 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.393e-05/0.481, allocations: 3.984 kB / 0.7132 GB, free: 4.883 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.904e-05/0.4812, allocations: 23.84 kB / 0.7132 GB, free: 4.859 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009476/0.4821, allocations: 322.2 kB / 0.7135 GB, free: 4.547 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.246e-05/0.4822, allocations: 59.78 kB / 0.7136 GB, free: 4.488 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.564e-05/0.4823, allocations: 4 kB / 0.7136 GB, free: 4.484 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.312e-05/0.4823, allocations: 35.91 kB / 0.7136 GB, free: 4.449 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.225e-05/0.4824, allocations: 35.89 kB / 0.7137 GB, free: 4.414 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.4824, allocations: 4 kB / 0.7137 GB, free: 4.41 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007804/0.4832, allocations: 406.8 kB / 0.714 GB, free: 4.012 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.417e-05/0.4833, allocations: 19.91 kB / 0.7141 GB, free: 3.992 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.005e-05/0.4833, allocations: 23.92 kB / 0.7141 GB, free: 3.969 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003319/0.4837, allocations: 157.9 kB / 0.7142 GB, free: 3.816 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4837, allocations: 0 / 0.7142 GB, free: 3.816 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.303e-06/0.4837, allocations: 0 / 0.7142 GB, free: 3.816 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.4837, allocations: 4 kB / 0.7142 GB, free: 3.812 MB / 0.545 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.0004311/0.4841, allocations: 391.3 kB / 0.7146 GB, free: 3.383 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.4842, allocations: 16.56 kB / 0.7146 GB, free: 3.367 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.842e-05/0.4842, allocations: 34.75 kB / 0.7147 GB, free: 3.324 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000402/0.4846, allocations: 44.8 kB / 0.7147 GB, free: 3.281 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.418e-05/0.4847, allocations: 168.1 kB / 0.7149 GB, free: 3.078 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.4847, allocations: 4 kB / 0.7149 GB, free: 3.074 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.4848, allocations: 12 kB / 0.7149 GB, free: 3.062 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.485, allocations: 81.58 kB / 0.715 GB, free: 2.977 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.485, allocations: 0 / 0.715 GB, free: 2.977 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.485, allocations: 8 kB / 0.715 GB, free: 2.969 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.485, allocations: 0 / 0.715 GB, free: 2.969 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.022e-05/0.4851, allocations: 43.89 kB / 0.715 GB, free: 2.926 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001838/0.4853, allocations: 193.4 kB / 0.7152 GB, free: 2.688 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.4855, allocations: 94.69 kB / 0.7153 GB, free: 2.586 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.157e-05/0.4855, allocations: 28.84 kB / 0.7153 GB, free: 2.555 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002148/0.4857, allocations: 178.2 kB / 0.7155 GB, free: 2.344 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.4858, allocations: 34.55 kB / 0.7155 GB, free: 2.301 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 3.266e-06/0.4858, allocations: 0 / 0.7155 GB, free: 2.301 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001275/0.4871, allocations: 0.5466 MB / 0.716 GB, free: 1.703 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.4871, allocations: 59.41 kB / 0.7161 GB, free: 1.633 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.565e-05/0.4872, allocations: 101.8 kB / 0.7162 GB, free: 1.523 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.4872, allocations: 29.7 kB / 0.7162 GB, free: 1.488 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.704e-05/0.4872, allocations: 84.64 kB / 0.7163 GB, free: 1.402 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.914e-05/0.4873, allocations: 67.02 kB / 0.7164 GB, free: 1.336 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.636e-05/0.4874, allocations: 41.7 kB / 0.7164 GB, free: 1.289 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.724e-05/0.4875, allocations: 318.8 kB / 0.7167 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.36e-05/0.4875, allocations: 31.98 kB / 0.7168 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.734e-05/0.4876, allocations: 73.78 kB / 0.7168 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.4878, allocations: 119.4 kB / 0.7169 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4878, allocations: 0 / 0.7169 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000222/0.488, allocations: 165.5 kB / 0.7171 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.488, allocations: 4 kB / 0.7171 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.4881, allocations: 4 kB / 0.7171 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.4881, allocations: 0 / 0.7171 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.4883, allocations: 39.92 kB / 0.7171 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.4883, allocations: 7.922 kB / 0.7171 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.552e-05/0.4883, allocations: 8 kB / 0.7172 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.4884, allocations: 12 kB / 0.7172 GB, free: 496 kB / 0.545 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 0.0001136/0.4885, allocations: 113.8 kB / 0.7173 GB, free: 372 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.4885, allocations: 11.91 kB / 0.7173 GB, free: 360 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.139e-05/0.4886, allocations: 16.44 kB / 0.7173 GB, free: 348 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4886, allocations: 0 / 0.7173 GB, free: 348 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.4886, allocations: 3.938 kB / 0.7173 GB, free: 344 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.4886, allocations: 7.875 kB / 0.7173 GB, free: 336 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.4888, allocations: 193.6 kB / 0.7175 GB, free: 92 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.4888, allocations: 3.984 kB / 0.7175 GB, free: 88 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/0.489, allocations: 39.98 kB / 0.7175 GB, free: 48 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.489, allocations: 0 / 0.7175 GB, free: 48 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.489, allocations: 8 kB / 0.7175 GB, free: 40 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.489, allocations: 0 / 0.7175 GB, free: 40 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.489, allocations: 3.938 kB / 0.7175 GB, free: 36 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.4894, allocations: 204.9 kB / 0.7177 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.22e-05/0.4895, allocations: 96.98 kB / 0.7178 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.4895, allocations: 4.062 kB / 0.7178 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.4896, allocations: 8 kB / 0.7178 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.826e-05/0.4896, allocations: 15.92 kB / 0.7179 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.4897, allocations: 4 kB / 0.7179 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.322e-05/0.4897, allocations: 79.28 kB / 0.7179 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.4897, allocations: 0 / 0.7179 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002191/0.4899, allocations: 28 kB / 0.718 GB, free: 15.57 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.0005358/0.4905, allocations: 0.7446 MB / 0.7187 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002326/0.4907, allocations: 128.2 kB / 0.7188 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.4907, allocations: 0 / 0.7188 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.044e-05/0.4908, allocations: 49.81 kB / 0.7189 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.491, allocations: 32.11 kB / 0.7189 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.4929, allocations: 1.805 MB / 0.7207 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.4932, allocations: 0.7008 MB / 0.7213 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001383/0.4934, allocations: 24.62 kB / 0.7214 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.998e-05/0.4934, allocations: 27.42 kB / 0.7214 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of SimCode: time 2.7e-07/0.4934, allocations: 4 kB / 0.7214 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.5119, allocations: 2.37 MB / 0.7237 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.977/7.489, allocations: 19.5 kB / 0.7237 GB, free: 9.594 MB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.sim & python3 -m fmpy simulate --output-file IBPSA_latest_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 IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1)