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.004595/0.004595, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001182/0.001182, allocations: 193.8 kB / 16.67 MB, free: 5.977 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.276/1.276, allocations: 222.9 MB / 240.4 MB, free: 4.289 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.9376/0.9376, allocations: 143 MB / 433.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 59.91 kB / 0.595 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.344, allocations: 82.03 MB / 0.6751 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck): time 0.001974/0.346, allocations: 1.336 MB / 0.6764 GB, free: 28 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1403/0.4863, allocations: 148.1 MB / 0.8211 GB, free: 456 kB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.493e-05/0.4864, allocations: 0 / 0.8211 GB, free: 456 kB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 4.428e-05/0.4865, allocations: 7.922 kB / 0.8211 GB, free: 448 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.4866, allocations: 7.922 kB / 0.8211 GB, free: 440 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.000974/0.4876, allocations: 346.6 kB / 0.8214 GB, free: 92 kB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 9.805e-05/0.4877, allocations: 59.83 kB / 0.8215 GB, free: 32 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 3.347e-05/0.4878, allocations: 3.984 kB / 0.8215 GB, free: 28 kB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 5.893e-05/0.4878, allocations: 32 kB / 0.8215 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.432e-05/0.4879, allocations: 35.75 kB / 0.8215 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.4879, allocations: 4 kB / 0.8215 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007737/0.4887, allocations: 414.9 kB / 0.8219 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.741e-05/0.4888, allocations: 15.92 kB / 0.822 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.696e-05/0.4888, allocations: 23.92 kB / 0.822 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003342/0.4892, allocations: 172.3 kB / 0.8221 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4892, allocations: 0 / 0.8221 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4892, allocations: 0 / 0.8221 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.4892, allocations: 0 / 0.8221 GB, free: 15.35 MB / 0.6544 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.0004566/0.4897, allocations: 391.1 kB / 0.8225 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.4897, allocations: 8.031 kB / 0.8225 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.695e-05/0.4898, allocations: 42.73 kB / 0.8226 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004137/0.4902, allocations: 32.86 kB / 0.8226 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.4903, allocations: 176.1 kB / 0.8228 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.4903, allocations: 4 kB / 0.8228 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.718e-05/0.4904, allocations: 19.92 kB / 0.8228 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.4905, allocations: 77.59 kB / 0.8229 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.4906, allocations: 0 / 0.8229 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.4906, allocations: 4 kB / 0.8229 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.4906, allocations: 4 kB / 0.8229 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.628e-05/0.4907, allocations: 43.95 kB / 0.8229 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000178/0.4909, allocations: 189.5 kB / 0.8231 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.491, allocations: 90.48 kB / 0.8232 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.29e-05/0.4911, allocations: 36.92 kB / 0.8232 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002109/0.4913, allocations: 182.1 kB / 0.8234 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.4914, allocations: 34.56 kB / 0.8234 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.4914, allocations: 0 / 0.8234 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19): time 0.001248/0.4926, allocations: 0.5488 MB / 0.824 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.4927, allocations: 59.39 kB / 0.824 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.452e-05/0.4927, allocations: 97.8 kB / 0.8241 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.4928, allocations: 33.7 kB / 0.8241 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.815e-05/0.4928, allocations: 80.52 kB / 0.8242 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.8e-05/0.4929, allocations: 75.36 kB / 0.8243 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.259e-05/0.4929, allocations: 37.84 kB / 0.8243 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.286e-05/0.493, allocations: 326.8 kB / 0.8246 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.106e-05/0.4931, allocations: 35.98 kB / 0.8247 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.013e-05/0.4932, allocations: 73.62 kB / 0.8247 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.4933, allocations: 119.3 kB / 0.8249 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.4933, allocations: 0 / 0.8249 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002137/0.4935, allocations: 161.5 kB / 0.825 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.4936, allocations: 4 kB / 0.825 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4936, allocations: 0 / 0.825 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.4936, allocations: 4 kB / 0.825 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.4938, allocations: 39.92 kB / 0.8251 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.4938, allocations: 3.938 kB / 0.8251 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.665e-05/0.4938, allocations: 8 kB / 0.8251 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.4939, allocations: 4 kB / 0.8251 GB, free: 12.02 MB / 0.6544 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 8.074e-05/0.4939, allocations: 121.8 kB / 0.8252 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.494, allocations: 11.95 kB / 0.8252 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.427e-05/0.494, allocations: 24.42 kB / 0.8252 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.494, allocations: 0 / 0.8252 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.494, allocations: 3.938 kB / 0.8252 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.494, allocations: 0 / 0.8252 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.4942, allocations: 193.6 kB / 0.8254 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4942, allocations: 0 / 0.8254 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001945/0.4944, allocations: 39.92 kB / 0.8254 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.4944, allocations: 0 / 0.8254 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.4944, allocations: 8 kB / 0.8255 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4944, allocations: 4 kB / 0.8255 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4944, allocations: 3.938 kB / 0.8255 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.4947, allocations: 202.3 kB / 0.8257 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.142e-05/0.4948, allocations: 97.11 kB / 0.8257 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.4948, allocations: 0 / 0.8257 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.495, allocations: 11.98 kB / 0.8258 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.035e-05/0.495, allocations: 12.17 kB / 0.8258 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.495, allocations: 8 kB / 0.8258 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.356e-05/0.495, allocations: 87.22 kB / 0.8259 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4951, allocations: 0 / 0.8259 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002191/0.4953, allocations: 24 kB / 0.8259 GB, free: 11.09 MB / 0.6544 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.0005338/0.4958, allocations: 0.7567 MB / 0.8266 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001949/0.496, allocations: 111.8 kB / 0.8267 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.496, allocations: 0 / 0.8267 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.79e-05/0.4961, allocations: 51.92 kB / 0.8268 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.4964, allocations: 19.92 kB / 0.8268 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.4981, allocations: 1.813 MB / 0.8286 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/0.4984, allocations: 0.6969 MB / 0.8292 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001041/0.4985, allocations: 24.64 kB / 0.8293 GB, free: 7.473 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.624e-05/0.4985, allocations: 27.42 kB / 0.8293 GB, free: 7.445 MB / 0.6544 GB Notification: Performance of SimCode: time 3.1e-07/0.4985, allocations: 0 / 0.8293 GB, free: 7.445 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01864/0.5172, allocations: 2.443 MB / 0.8317 GB, free: 5.094 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.14/7.657, allocations: 11.33 kB / 0.8317 GB, free: 5.086 MB / 0.6544 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)