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: translateModel(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 109.3 kB / 16.41 MB, free: 6.445 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.001482/0.001483, allocations: 183 kB / 17.34 MB, free: 5.742 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.16 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.8916/0.8916, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 67.02 kB / 0.5962 GB, free: 12.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1534, allocations: 82.02 MB / 0.6763 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002248/0.1557, allocations: 1.282 MB / 0.6775 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5119/0.6676, allocations: 147 MB / 0.8211 GB, free: 2.012 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.101e-05/0.6677, allocations: 0 / 0.8211 GB, free: 2.012 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.061e-05/0.6677, allocations: 6.328 kB / 0.8211 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.561e-05/0.6678, allocations: 3.938 kB / 0.8211 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004117/0.6682, allocations: 95.33 kB / 0.8212 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 6.891e-05/0.6683, allocations: 31.03 kB / 0.8212 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.02e-05/0.6683, allocations: 12.52 kB / 0.8212 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.36e-05/0.6684, allocations: 15.62 kB / 0.8212 GB, free: 1.906 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.073e-05/0.6684, allocations: 17.06 kB / 0.8213 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.6685, allocations: 7.938 kB / 0.8213 GB, free: 1.887 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002396/0.6687, allocations: 76.8 kB / 0.8213 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/0.6687, allocations: 10.67 kB / 0.8214 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.893e-05/0.6688, allocations: 15.41 kB / 0.8214 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.6689, allocations: 64.27 kB / 0.8214 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.6689, allocations: 1.906 kB / 0.8214 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6689, allocations: 0 / 0.8214 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.6689, allocations: 0 / 0.8214 GB, free: 1.801 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.0003984/0.6694, allocations: 357.6 kB / 0.8218 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.6694, allocations: 10.09 kB / 0.8218 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001793/0.6696, allocations: 11.69 kB / 0.8218 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.6697, allocations: 163.8 kB / 0.8219 GB, free: 1.227 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.6697, allocations: 3.938 kB / 0.822 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.6697, allocations: 12.61 kB / 0.822 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.6699, allocations: 50 kB / 0.822 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.6699, allocations: 0 / 0.822 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.6699, allocations: 0 / 0.822 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.6699, allocations: 6.094 kB / 0.822 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.929e-05/0.6699, allocations: 19.94 kB / 0.822 GB, free: 1.156 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001623/0.6701, allocations: 171.5 kB / 0.8222 GB, free: 0.9492 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.477e-05/0.6702, allocations: 50.31 kB / 0.8222 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.523e-05/0.6702, allocations: 14.36 kB / 0.8223 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.6703, allocations: 2.25 kB / 0.8223 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.6703, allocations: 34.56 kB / 0.8223 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.6703, allocations: 6.812 kB / 0.8223 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.0006917/0.671, allocations: 372.7 kB / 0.8227 GB, free: 0.5234 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.671, allocations: 53.72 kB / 0.8227 GB, free: 472 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.496e-05/0.6711, allocations: 89.86 kB / 0.8228 GB, free: 372 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.6711, allocations: 31.7 kB / 0.8228 GB, free: 336 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.923e-05/0.6712, allocations: 84.27 kB / 0.8229 GB, free: 248 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/0.6712, allocations: 37.42 kB / 0.8229 GB, free: 216 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.011e-05/0.6713, allocations: 28.52 kB / 0.823 GB, free: 188 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.6714, allocations: 321.3 kB / 0.8233 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.256e-05/0.6714, allocations: 22.11 kB / 0.8233 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.739e-05/0.6715, allocations: 42.02 kB / 0.8233 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.157e-05/0.6716, allocations: 52.55 kB / 0.8234 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.6716, allocations: 4 kB / 0.8234 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001278/0.6717, allocations: 105.2 kB / 0.8235 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.6717, allocations: 5.781 kB / 0.8235 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.6717, allocations: 6.391 kB / 0.8235 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.6717, allocations: 0 / 0.8235 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.6719, allocations: 17.56 kB / 0.8235 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.6719, allocations: 2.719 kB / 0.8235 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.166e-05/0.6719, allocations: 0 / 0.8235 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.6719, allocations: 4.906 kB / 0.8235 GB, free: 15.71 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 8.108e-05/0.672, allocations: 131.6 kB / 0.8237 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.672, allocations: 2.5 kB / 0.8237 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.316e-05/0.6721, allocations: 7.969 kB / 0.8237 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.6721, allocations: 2.969 kB / 0.8237 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.6721, allocations: 3.938 kB / 0.8237 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.6721, allocations: 0 / 0.8237 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.6722, allocations: 175.7 kB / 0.8238 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.6722, allocations: 0 / 0.8238 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.6723, allocations: 17.56 kB / 0.8239 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.6724, allocations: 6.109 kB / 0.8239 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.6724, allocations: 4 kB / 0.8239 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.6724, allocations: 6.531 kB / 0.8239 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.6724, allocations: 0 / 0.8239 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.6726, allocations: 134.4 kB / 0.824 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.331e-05/0.6726, allocations: 83.83 kB / 0.8241 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.6727, allocations: 2.562 kB / 0.8241 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.721e-05/0.6728, allocations: 10.53 kB / 0.8241 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.977e-05/0.6728, allocations: 9.75 kB / 0.8241 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.6728, allocations: 7.188 kB / 0.8241 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.588e-05/0.6728, allocations: 78.03 kB / 0.8242 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6728, allocations: 0 / 0.8242 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001967/0.673, allocations: 16.41 kB / 0.8242 GB, free: 15.05 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.0001/0.6731, allocations: 104.1 kB / 0.8243 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001417/0.6733, allocations: 55.78 kB / 0.8243 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.6733, allocations: 0 / 0.8243 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.694e-05/0.6733, allocations: 30.38 kB / 0.8244 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.6736, allocations: 12.28 kB / 0.8244 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005221/0.6741, allocations: 346.4 kB / 0.8247 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.6743, allocations: 0.6866 MB / 0.8254 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.154e-05/0.6744, allocations: 14.94 kB / 0.8254 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of SimCode: time 1.432e-06/0.6744, allocations: 0 / 0.8254 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of Templates: time 0.002122/0.6765, allocations: 0.8528 MB / 0.8262 GB, free: 13.46 MB / 0.6075 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)