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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(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.006323/0.006323, allocations: 96.11 kB / 15.73 MB, free: 6.039 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.001309/0.001309, allocations: 201.9 kB / 16.68 MB, free: 5.969 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.958/0.958, allocations: 143.3 MB / 433.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 67.89 kB / 0.5953 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3201, allocations: 82.03 MB / 0.6754 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001695/0.3218, allocations: 1.262 MB / 0.6766 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.145/0.4669, allocations: 147 MB / 0.8202 GB, free: 1.34 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.467, allocations: 0 / 0.8202 GB, free: 1.34 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 1.739e-05/0.467, allocations: 3.938 kB / 0.8202 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 4.416e-05/0.4671, allocations: 4 kB / 0.8202 GB, free: 1.332 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003367/0.4674, allocations: 91.55 kB / 0.8203 GB, free: 1.242 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 6.97e-05/0.4675, allocations: 35.84 kB / 0.8203 GB, free: 1.207 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 2.925e-05/0.4675, allocations: 8 kB / 0.8203 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 3.506e-05/0.4676, allocations: 15.94 kB / 0.8203 GB, free: 1.184 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 5.425e-05/0.4676, allocations: 15.97 kB / 0.8204 GB, free: 1.168 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.4676, allocations: 4 kB / 0.8204 GB, free: 1.164 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002157/0.4678, allocations: 71.83 kB / 0.8204 GB, free: 1.094 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.4679, allocations: 15.92 kB / 0.8205 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.684e-05/0.4679, allocations: 15.92 kB / 0.8205 GB, free: 1.062 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.4681, allocations: 60.67 kB / 0.8205 GB, free: 1.008 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.4681, allocations: 4 kB / 0.8205 GB, free: 1.004 MB / 0.6387 GB Notification: Performance of FrontEnd: time 9.82e-07/0.4681, allocations: 0 / 0.8205 GB, free: 1.004 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.4681, allocations: 4 kB / 0.8205 GB, free: 1 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.000356/0.4684, allocations: 355.3 kB / 0.8209 GB, free: 0.6055 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.4685, allocations: 15.97 kB / 0.8209 GB, free: 0.5898 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.966e-05/0.4685, allocations: 30.75 kB / 0.8209 GB, free: 0.5508 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.4687, allocations: 12.92 kB / 0.8209 GB, free: 0.5391 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.918e-05/0.4688, allocations: 164.1 kB / 0.8211 GB, free: 348 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.4688, allocations: 8 kB / 0.8211 GB, free: 340 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.4688, allocations: 11.95 kB / 0.8211 GB, free: 328 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.4689, allocations: 49.67 kB / 0.8212 GB, free: 272 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.469, allocations: 4 kB / 0.8212 GB, free: 268 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.469, allocations: 0 / 0.8212 GB, free: 268 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.469, allocations: 0 / 0.8212 GB, free: 268 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.114e-05/0.469, allocations: 15.92 kB / 0.8212 GB, free: 252 kB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/0.4692, allocations: 177.5 kB / 0.8213 GB, free: 24 kB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 9.207e-05/0.4693, allocations: 46.61 kB / 0.8214 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.017e-05/0.4693, allocations: 24.8 kB / 0.8214 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.879e-06/0.4693, allocations: 0 / 0.8214 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.4694, allocations: 34.56 kB / 0.8214 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 2.424e-06/0.4694, allocations: 3.984 kB / 0.8214 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0006495/0.47, allocations: 378.3 kB / 0.8218 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.4701, allocations: 51.41 kB / 0.8219 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.82e-05/0.4701, allocations: 101.8 kB / 0.822 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.4702, allocations: 33.64 kB / 0.822 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.294e-05/0.4702, allocations: 84.14 kB / 0.8221 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.4702, allocations: 39.69 kB / 0.8221 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.4703, allocations: 25.72 kB / 0.8221 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.4704, allocations: 322.8 kB / 0.8224 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.498e-05/0.4704, allocations: 20 kB / 0.8225 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.578e-05/0.4705, allocations: 41.08 kB / 0.8225 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.252e-05/0.4706, allocations: 61.64 kB / 0.8225 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.4706, allocations: 4 kB / 0.8226 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001231/0.4707, allocations: 89.62 kB / 0.8226 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/0.4707, allocations: 8 kB / 0.8226 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.4707, allocations: 0 / 0.8226 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.4708, allocations: 0 / 0.8226 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.4709, allocations: 27.92 kB / 0.8227 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.4709, allocations: 0 / 0.8227 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.954e-05/0.4709, allocations: 8 kB / 0.8227 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.4709, allocations: 8.641 kB / 0.8227 GB, free: 14.5 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.313e-05/0.471, allocations: 113.8 kB / 0.8228 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.471, allocations: 7.953 kB / 0.8228 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.857e-05/0.4711, allocations: 11.97 kB / 0.8228 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.4711, allocations: 0 / 0.8228 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.4711, allocations: 0 / 0.8228 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.4711, allocations: 3.984 kB / 0.8228 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.4712, allocations: 177.5 kB / 0.823 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.4712, allocations: 4 kB / 0.823 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.4713, allocations: 27.92 kB / 0.823 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.4713, allocations: 0 / 0.823 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.4714, allocations: 0 / 0.823 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4714, allocations: 0 / 0.823 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4714, allocations: 0 / 0.823 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.4715, allocations: 133 kB / 0.8231 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.251e-05/0.4716, allocations: 85.06 kB / 0.8232 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.4716, allocations: 8 kB / 0.8232 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.951e-05/0.4717, allocations: 12.03 kB / 0.8232 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.578e-05/0.4717, allocations: 7.875 kB / 0.8233 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.4718, allocations: 4 kB / 0.8233 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.757e-05/0.4718, allocations: 83.22 kB / 0.8233 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4718, allocations: 4 kB / 0.8233 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001753/0.472, allocations: 12 kB / 0.8234 GB, free: 13.73 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.0004209/0.4724, allocations: 0.6713 MB / 0.824 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001179/0.4725, allocations: 67.83 kB / 0.8241 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4725, allocations: 0 / 0.8241 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.777e-05/0.4726, allocations: 27.94 kB / 0.8241 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.4728, allocations: 11.12 kB / 0.8241 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.474, allocations: 1.439 MB / 0.8255 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.4743, allocations: 0.6962 MB / 0.8262 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.677e-05/0.4744, allocations: 8.672 kB / 0.8262 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.888e-05/0.4744, allocations: 19.42 kB / 0.8262 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.4744, allocations: 0 / 0.8262 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.026/1.5, allocations: 1.694 MB / 0.8279 GB, free: 9.102 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.31/15.81, allocations: 10.86 kB / 0.8279 GB, free: 9.094 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)