Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",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.00768/0.00768, allocations: 98.89 kB / 15.73 MB, free: 6.031 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.001951/0.001951, allocations: 196.5 kB / 16.67 MB, free: 5.953 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.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.8335/0.8335, allocations: 143.1 MB / 433.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001142, allocations: 64.66 kB / 0.595 GB, free: 12.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1414, allocations: 82.03 MB / 0.6751 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002276/0.1437, allocations: 1.275 MB / 0.6764 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.4683/0.6121, allocations: 147 MB / 0.8199 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.794e-05/0.6121, allocations: 2.312 kB / 0.8199 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.29e-05/0.6122, allocations: 7.984 kB / 0.8199 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.237e-05/0.6123, allocations: 7.875 kB / 0.82 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004668/0.6128, allocations: 92.11 kB / 0.82 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.385e-05/0.6128, allocations: 40.97 kB / 0.8201 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.947e-05/0.6129, allocations: 6.891 kB / 0.8201 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.129e-05/0.6129, allocations: 7.219 kB / 0.8201 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.459e-05/0.613, allocations: 21.53 kB / 0.8201 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.613, allocations: 2.188 kB / 0.8201 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002732/0.6133, allocations: 83.02 kB / 0.8202 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.772e-05/0.6133, allocations: 7.984 kB / 0.8202 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.117e-05/0.6134, allocations: 11.25 kB / 0.8202 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.6135, allocations: 71.73 kB / 0.8203 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.6136, allocations: 0 / 0.8203 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6136, allocations: 0 / 0.8203 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.6136, allocations: 3.094 kB / 0.8203 GB, free: 1.836 MB / 0.5919 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.0003997/0.614, allocations: 356.9 kB / 0.8206 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.614, allocations: 7.969 kB / 0.8206 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.835e-05/0.6141, allocations: 40.84 kB / 0.8207 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001939/0.6143, allocations: 8.219 kB / 0.8207 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.6144, allocations: 175.1 kB / 0.8208 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.6144, allocations: 5.812 kB / 0.8209 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.6144, allocations: 12.7 kB / 0.8209 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.6146, allocations: 44.06 kB / 0.8209 GB, free: 1.156 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.6146, allocations: 0 / 0.8209 GB, free: 1.156 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.6146, allocations: 5.812 kB / 0.8209 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.6146, allocations: 0 / 0.8209 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.523e-05/0.6146, allocations: 22.81 kB / 0.8209 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001627/0.6148, allocations: 173 kB / 0.8211 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.685e-05/0.6149, allocations: 56.39 kB / 0.8212 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.763e-05/0.6149, allocations: 16.55 kB / 0.8212 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.615, allocations: 0 / 0.8212 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.615, allocations: 36.45 kB / 0.8212 GB, free: 0.832 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 9.41e-07/0.615, allocations: 4 kB / 0.8212 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.0006857/0.6157, allocations: 367.8 kB / 0.8216 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.6157, allocations: 53.34 kB / 0.8216 GB, free: 456 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.015e-05/0.6158, allocations: 100.3 kB / 0.8217 GB, free: 348 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.6158, allocations: 25.7 kB / 0.8217 GB, free: 316 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.724e-05/0.6159, allocations: 80.14 kB / 0.8218 GB, free: 232 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.254e-05/0.6159, allocations: 49.12 kB / 0.8219 GB, free: 188 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/0.616, allocations: 25.39 kB / 0.8219 GB, free: 164 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.6161, allocations: 325.3 kB / 0.8222 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.33e-05/0.6161, allocations: 18.23 kB / 0.8222 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.381e-05/0.6162, allocations: 37.05 kB / 0.8222 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.661e-05/0.6163, allocations: 52.47 kB / 0.8223 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.6163, allocations: 2.094 kB / 0.8223 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001307/0.6164, allocations: 109.5 kB / 0.8224 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.6164, allocations: 9.219 kB / 0.8224 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.6164, allocations: 0 / 0.8224 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.6164, allocations: 0 / 0.8224 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.6166, allocations: 21.47 kB / 0.8224 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.6166, allocations: 6.547 kB / 0.8224 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.151e-05/0.6166, allocations: 0 / 0.8224 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.587e-06/0.6166, allocations: 8.312 kB / 0.8224 GB, free: 15.68 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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.075e-05/0.6167, allocations: 117.6 kB / 0.8226 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.6167, allocations: 10.7 kB / 0.8226 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.038e-05/0.6168, allocations: 7.969 kB / 0.8226 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.6168, allocations: 2.312 kB / 0.8226 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.6168, allocations: 0.875 kB / 0.8226 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.6168, allocations: 0 / 0.8226 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.6169, allocations: 175.7 kB / 0.8227 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.6169, allocations: 0 / 0.8227 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.617, allocations: 31.83 kB / 0.8228 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.6171, allocations: 0 / 0.8228 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.6171, allocations: 2.312 kB / 0.8228 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.6171, allocations: 6.812 kB / 0.8228 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.6171, allocations: 0 / 0.8228 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.6173, allocations: 130.6 kB / 0.8229 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.568e-05/0.6173, allocations: 89.97 kB / 0.823 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.6174, allocations: 0 / 0.823 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.236e-05/0.6175, allocations: 6.219 kB / 0.823 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.634e-05/0.6175, allocations: 7.016 kB / 0.823 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.6175, allocations: 2.719 kB / 0.823 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.887e-05/0.6175, allocations: 81.38 kB / 0.8231 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6175, allocations: 0 / 0.8231 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001937/0.6177, allocations: 20.59 kB / 0.8231 GB, free: 15.03 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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.0004056/0.6181, allocations: 0.679 MB / 0.8238 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001207/0.6183, allocations: 56.2 kB / 0.8238 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.6183, allocations: 0 / 0.8238 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.743e-05/0.6183, allocations: 35.64 kB / 0.8239 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.6185, allocations: 7.031 kB / 0.8239 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.6198, allocations: 1.444 MB / 0.8253 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.6201, allocations: 0.6862 MB / 0.8259 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.229e-05/0.6201, allocations: 11.34 kB / 0.826 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.873e-05/0.6202, allocations: 16.5 kB / 0.826 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.6202, allocations: 0 / 0.826 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01804/0.6382, allocations: 1.703 MB / 0.8276 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.061/7.7, allocations: 9.859 kB / 0.8276 GB, free: 11.38 MB / 0.6075 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_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_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)