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.005364/0.005364, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001391/0.001391, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.9964/0.9964, allocations: 143 MB / 433.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.91 kB / 0.595 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3961, allocations: 82.03 MB / 0.6751 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001844/0.398, allocations: 1.281 MB / 0.6764 GB, free: 56 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1453/0.5433, allocations: 147 MB / 0.82 GB, free: 1.602 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.954e-05/0.5434, allocations: 0 / 0.82 GB, free: 1.602 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.202e-05/0.5435, allocations: 3.938 kB / 0.82 GB, free: 1.598 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 5.408e-05/0.5436, allocations: 7.984 kB / 0.82 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004684/0.544, allocations: 95.55 kB / 0.8201 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 7.824e-05/0.5441, allocations: 35.86 kB / 0.8201 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 3.864e-05/0.5442, allocations: 4 kB / 0.8201 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.492e-05/0.5442, allocations: 15.92 kB / 0.8201 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 5.944e-05/0.5443, allocations: 15.97 kB / 0.8201 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.5443, allocations: 4 kB / 0.8201 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002603/0.5446, allocations: 79.78 kB / 0.8202 GB, free: 1.344 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.844e-05/0.5446, allocations: 11.97 kB / 0.8202 GB, free: 1.332 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.036e-05/0.5446, allocations: 11.94 kB / 0.8202 GB, free: 1.32 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.5448, allocations: 64.67 kB / 0.8203 GB, free: 1.262 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.5448, allocations: 0 / 0.8203 GB, free: 1.262 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5448, allocations: 0 / 0.8203 GB, free: 1.262 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.5448, allocations: 0 / 0.8203 GB, free: 1.262 MB / 0.6387 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.0003806/0.5452, allocations: 359.3 kB / 0.8206 GB, free: 0.8633 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.5453, allocations: 8.031 kB / 0.8206 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.859e-05/0.5453, allocations: 38.75 kB / 0.8207 GB, free: 0.8086 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.5455, allocations: 12.86 kB / 0.8207 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.429e-05/0.5456, allocations: 176.1 kB / 0.8209 GB, free: 0.5859 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.5456, allocations: 0 / 0.8209 GB, free: 0.5859 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.5457, allocations: 11.95 kB / 0.8209 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.5458, allocations: 53.66 kB / 0.8209 GB, free: 0.5156 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.5458, allocations: 0 / 0.8209 GB, free: 0.5156 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.5458, allocations: 4 kB / 0.8209 GB, free: 0.5117 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.5458, allocations: 0 / 0.8209 GB, free: 0.5117 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.919e-05/0.5459, allocations: 19.97 kB / 0.8209 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001623/0.546, allocations: 169.5 kB / 0.8211 GB, free: 284 kB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 8.631e-05/0.5461, allocations: 58.48 kB / 0.8212 GB, free: 216 kB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.678e-05/0.5462, allocations: 16.86 kB / 0.8212 GB, free: 196 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.5462, allocations: 0 / 0.8212 GB, free: 196 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.5462, allocations: 30.56 kB / 0.8212 GB, free: 156 kB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.5462, allocations: 0 / 0.8212 GB, free: 156 kB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.0007152/0.5469, allocations: 378.3 kB / 0.8216 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.547, allocations: 59.34 kB / 0.8216 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.911e-05/0.5471, allocations: 89.86 kB / 0.8217 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.5471, allocations: 29.7 kB / 0.8217 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.685e-05/0.5471, allocations: 84.14 kB / 0.8218 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.623e-05/0.5472, allocations: 39.69 kB / 0.8219 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.5472, allocations: 25.72 kB / 0.8219 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.847e-05/0.5473, allocations: 326.9 kB / 0.8222 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.728e-05/0.5474, allocations: 20 kB / 0.8222 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.537e-05/0.5474, allocations: 33.7 kB / 0.8222 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.775e-05/0.5475, allocations: 58.25 kB / 0.8223 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.5475, allocations: 0 / 0.8223 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001334/0.5476, allocations: 105.5 kB / 0.8224 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.5477, allocations: 4 kB / 0.8224 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.5477, allocations: 0 / 0.8224 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.5477, allocations: 8 kB / 0.8224 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.5478, allocations: 23.92 kB / 0.8224 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.5478, allocations: 4 kB / 0.8224 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.034e-05/0.5479, allocations: 0 / 0.8224 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.5479, allocations: 15.94 kB / 0.8224 GB, free: 14.76 MB / 0.6544 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.449e-05/0.548, allocations: 109.8 kB / 0.8226 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.705e-05/0.548, allocations: 7.953 kB / 0.8226 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.308e-05/0.548, allocations: 11.95 kB / 0.8226 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.548, allocations: 4 kB / 0.8226 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.548, allocations: 7.938 kB / 0.8226 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.548, allocations: 0 / 0.8226 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.5482, allocations: 173.6 kB / 0.8228 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.5482, allocations: 3.938 kB / 0.8228 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.5483, allocations: 27.94 kB / 0.8228 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.5483, allocations: 0 / 0.8228 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.5483, allocations: 0 / 0.8228 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.5483, allocations: 4 kB / 0.8228 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5483, allocations: 3.984 kB / 0.8228 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.5485, allocations: 137.1 kB / 0.8229 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.4e-05/0.5486, allocations: 85.09 kB / 0.823 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.5486, allocations: 4 kB / 0.823 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.786e-05/0.5487, allocations: 7.938 kB / 0.823 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/0.5487, allocations: 4 kB / 0.823 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.5488, allocations: 7.984 kB / 0.823 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.486e-05/0.5488, allocations: 79.22 kB / 0.8231 GB, free: 14 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5488, allocations: 0 / 0.8231 GB, free: 14 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000198/0.549, allocations: 20.09 kB / 0.8231 GB, free: 13.98 MB / 0.6544 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.0004021/0.5494, allocations: 0.6632 MB / 0.8238 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001302/0.5496, allocations: 59.89 kB / 0.8238 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5496, allocations: 0 / 0.8238 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.763e-05/0.5496, allocations: 31.92 kB / 0.8239 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.5498, allocations: 14.03 kB / 0.8239 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.5511, allocations: 1.446 MB / 0.8253 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.5513, allocations: 0.6846 MB / 0.8259 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.267e-05/0.5514, allocations: 12.66 kB / 0.826 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.809e-05/0.5515, allocations: 15.44 kB / 0.826 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.5515, allocations: 0 / 0.826 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02004/0.5715, allocations: 1.695 MB / 0.8276 GB, free: 9.363 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.126/7.698, allocations: 14.61 kB / 0.8276 GB, free: 9.355 MB / 0.6544 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)