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.005606/0.005606, allocations: 99.56 kB / 15.73 MB, free: 6.047 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.001285/0.001285, allocations: 185.3 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.025/1.025, allocations: 143 MB / 433.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.00153, allocations: 67.89 kB / 0.595 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4735/0.475, allocations: 82.03 MB / 0.6751 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.00261/0.4777, allocations: 1.27 MB / 0.6764 GB, free: 160 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1701/0.6479, allocations: 147 MB / 0.82 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.936e-05/0.6479, allocations: 0 / 0.82 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.35e-05/0.648, allocations: 3.938 kB / 0.82 GB, free: 1.621 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 5.952e-05/0.6481, allocations: 0 / 0.82 GB, free: 1.621 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005166/0.6486, allocations: 91.56 kB / 0.82 GB, free: 1.531 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 9.7e-05/0.6487, allocations: 35.84 kB / 0.8201 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 3.873e-05/0.6488, allocations: 0 / 0.8201 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 5.456e-05/0.6488, allocations: 23.92 kB / 0.8201 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 6.435e-05/0.6489, allocations: 15.98 kB / 0.8201 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.6489, allocations: 0 / 0.8201 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002952/0.6492, allocations: 79.81 kB / 0.8202 GB, free: 1.379 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.6492, allocations: 7.938 kB / 0.8202 GB, free: 1.371 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.062e-05/0.6493, allocations: 23.91 kB / 0.8202 GB, free: 1.348 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.6495, allocations: 58.2 kB / 0.8203 GB, free: 1.293 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.6495, allocations: 0 / 0.8203 GB, free: 1.293 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.924e-06/0.6495, allocations: 3.938 kB / 0.8203 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.6495, allocations: 0 / 0.8203 GB, free: 1.289 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.0004687/0.65, allocations: 355.5 kB / 0.8206 GB, free: 0.8945 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.65, allocations: 8.031 kB / 0.8206 GB, free: 0.8867 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.493e-05/0.6501, allocations: 42.69 kB / 0.8207 GB, free: 0.8359 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002181/0.6503, allocations: 16.83 kB / 0.8207 GB, free: 0.8203 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.6505, allocations: 164.1 kB / 0.8208 GB, free: 0.6211 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.6505, allocations: 0 / 0.8208 GB, free: 0.6211 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/0.6505, allocations: 11.94 kB / 0.8209 GB, free: 0.6094 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.6507, allocations: 49.67 kB / 0.8209 GB, free: 0.5547 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.6507, allocations: 4 kB / 0.8209 GB, free: 0.5508 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.6507, allocations: 4 kB / 0.8209 GB, free: 0.5469 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.6507, allocations: 4 kB / 0.8209 GB, free: 0.543 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.391e-05/0.6508, allocations: 11.98 kB / 0.8209 GB, free: 0.5312 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002009/0.651, allocations: 173.5 kB / 0.8211 GB, free: 320 kB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 8.767e-05/0.6511, allocations: 46.56 kB / 0.8211 GB, free: 264 kB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.142e-05/0.6511, allocations: 20.84 kB / 0.8212 GB, free: 240 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.6511, allocations: 7.984 kB / 0.8212 GB, free: 232 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.6512, allocations: 30.8 kB / 0.8212 GB, free: 192 kB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.6512, allocations: 0 / 0.8212 GB, free: 192 kB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.0007794/0.652, allocations: 374 kB / 0.8215 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.652, allocations: 55.41 kB / 0.8216 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.878e-05/0.6521, allocations: 101.8 kB / 0.8217 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.6521, allocations: 25.7 kB / 0.8217 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.964e-05/0.6521, allocations: 88.14 kB / 0.8218 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.362e-05/0.6522, allocations: 39.45 kB / 0.8218 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.6522, allocations: 25.72 kB / 0.8219 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.6523, allocations: 314.8 kB / 0.8222 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.693e-05/0.6524, allocations: 19.98 kB / 0.8222 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.053e-05/0.6524, allocations: 37.81 kB / 0.8222 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.696e-05/0.6525, allocations: 74.17 kB / 0.8223 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.6525, allocations: 0 / 0.8223 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001292/0.6527, allocations: 93.58 kB / 0.8224 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.6527, allocations: 4 kB / 0.8224 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.6527, allocations: 4 kB / 0.8224 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.6527, allocations: 0 / 0.8224 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.6529, allocations: 23.92 kB / 0.8224 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.6529, allocations: 4 kB / 0.8224 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.342e-05/0.6529, allocations: 4 kB / 0.8224 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.6529, allocations: 11.94 kB / 0.8224 GB, free: 14.8 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 8.498e-05/0.653, allocations: 113.8 kB / 0.8225 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.515e-05/0.653, allocations: 0 / 0.8225 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.364e-05/0.6531, allocations: 7.969 kB / 0.8225 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.6531, allocations: 4 kB / 0.8226 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.6531, allocations: 0 / 0.8226 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.6531, allocations: 3.984 kB / 0.8226 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.6532, allocations: 173.6 kB / 0.8227 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.6532, allocations: 3.938 kB / 0.8227 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.6534, allocations: 31.92 kB / 0.8228 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.6534, allocations: 0 / 0.8228 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.6534, allocations: 7.938 kB / 0.8228 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.6534, allocations: 0 / 0.8228 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.6534, allocations: 0 / 0.8228 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.6536, allocations: 133 kB / 0.8229 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-05/0.6537, allocations: 85 kB / 0.823 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.6537, allocations: 4 kB / 0.823 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.516e-05/0.6538, allocations: 11.98 kB / 0.823 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.262e-05/0.6539, allocations: 4 kB / 0.823 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.6539, allocations: 4 kB / 0.823 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.364e-05/0.6539, allocations: 87.09 kB / 0.8231 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6539, allocations: 0 / 0.8231 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000204/0.6541, allocations: 16 kB / 0.8231 GB, free: 14.03 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.0004627/0.6546, allocations: 0.6674 MB / 0.8237 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001439/0.6547, allocations: 55.91 kB / 0.8238 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.6548, allocations: 4 kB / 0.8238 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.121e-05/0.6548, allocations: 31.92 kB / 0.8238 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.6551, allocations: 8 kB / 0.8238 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.6565, allocations: 1.451 MB / 0.8253 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.6567, allocations: 0.6924 MB / 0.8259 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.426e-05/0.6568, allocations: 4.672 kB / 0.8259 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.775e-05/0.6568, allocations: 23.38 kB / 0.826 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of SimCode: time 4.41e-07/0.6568, allocations: 0 / 0.826 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01895/0.6758, allocations: 1.717 MB / 0.8276 GB, free: 9.379 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.486/8.162, allocations: 3.859 kB / 0.8276 GB, free: 9.375 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)