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.007993/0.007993, allocations: 99.64 kB / 15.73 MB, free: 6.023 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.001687/0.001687, allocations: 187.1 kB / 16.67 MB, free: 5.957 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.188 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.003/1.003, allocations: 143 MB / 433.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 63.91 kB / 0.5955 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5012/0.5025, allocations: 82.02 MB / 0.6756 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002158/0.5047, allocations: 1.27 MB / 0.6768 GB, free: 468 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1634/0.6682, allocations: 147 MB / 0.8204 GB, free: 1.723 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.139e-05/0.6682, allocations: 0 / 0.8204 GB, free: 1.723 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.74e-05/0.6683, allocations: 3.984 kB / 0.8204 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 5.2e-05/0.6684, allocations: 7.938 kB / 0.8204 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004626/0.6689, allocations: 87.56 kB / 0.8205 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 7.601e-05/0.669, allocations: 35.84 kB / 0.8205 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 3.672e-05/0.669, allocations: 7.984 kB / 0.8205 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.546e-05/0.669, allocations: 11.94 kB / 0.8206 GB, free: 1.57 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 5.534e-05/0.6691, allocations: 19.97 kB / 0.8206 GB, free: 1.551 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.6691, allocations: 4 kB / 0.8206 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002461/0.6694, allocations: 75.83 kB / 0.8207 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.6694, allocations: 11.92 kB / 0.8207 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.854e-05/0.6694, allocations: 15.94 kB / 0.8207 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.6696, allocations: 67.67 kB / 0.8207 GB, free: 1.383 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.6696, allocations: 0 / 0.8207 GB, free: 1.383 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6696, allocations: 0 / 0.8207 GB, free: 1.383 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.6696, allocations: 0 / 0.8207 GB, free: 1.383 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.0003832/0.67, allocations: 349.4 kB / 0.8211 GB, free: 0.9961 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.6701, allocations: 12.62 kB / 0.8211 GB, free: 0.9844 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001918/0.6702, allocations: 12.84 kB / 0.8211 GB, free: 0.9727 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.6704, allocations: 168.3 kB / 0.8213 GB, free: 0.7695 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.6704, allocations: 3.938 kB / 0.8213 GB, free: 0.7656 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.6704, allocations: 11.98 kB / 0.8213 GB, free: 0.7539 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.6705, allocations: 49.67 kB / 0.8213 GB, free: 0.6992 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.6706, allocations: 0 / 0.8213 GB, free: 0.6992 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.6706, allocations: 4 kB / 0.8213 GB, free: 0.6953 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.6706, allocations: 8 kB / 0.8213 GB, free: 0.6875 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.596e-05/0.6706, allocations: 11.98 kB / 0.8214 GB, free: 0.6758 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001725/0.6708, allocations: 173.5 kB / 0.8215 GB, free: 468 kB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 8.454e-05/0.6709, allocations: 50.5 kB / 0.8216 GB, free: 408 kB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.499e-05/0.6709, allocations: 16.86 kB / 0.8216 GB, free: 388 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.671, allocations: 0 / 0.8216 GB, free: 388 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.671, allocations: 34.56 kB / 0.8216 GB, free: 344 kB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.671, allocations: 0 / 0.8216 GB, free: 344 kB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.0007416/0.6717, allocations: 382.8 kB / 0.822 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.6718, allocations: 55.41 kB / 0.822 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.832e-05/0.6719, allocations: 93.86 kB / 0.8221 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.6719, allocations: 29.7 kB / 0.8221 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.672, allocations: 88.27 kB / 0.8222 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.672, allocations: 39.45 kB / 0.8223 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.395e-05/0.6721, allocations: 33.64 kB / 0.8223 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.784e-05/0.6722, allocations: 314.8 kB / 0.8226 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.634e-05/0.6722, allocations: 19.98 kB / 0.8226 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.965e-05/0.6723, allocations: 37.7 kB / 0.8227 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.356e-05/0.6724, allocations: 53.72 kB / 0.8227 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.6724, allocations: 8 kB / 0.8227 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001321/0.6725, allocations: 97.44 kB / 0.8228 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.6726, allocations: 11.98 kB / 0.8228 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.6726, allocations: 0 / 0.8228 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.6726, allocations: 0 / 0.8228 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.6727, allocations: 20 kB / 0.8228 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.6727, allocations: 0 / 0.8228 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.162e-05/0.6728, allocations: 0 / 0.8228 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.6728, allocations: 11.94 kB / 0.8229 GB, free: 14.95 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.757e-05/0.6728, allocations: 125.8 kB / 0.823 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.6729, allocations: 0 / 0.823 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.169e-05/0.6729, allocations: 11.97 kB / 0.823 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.6729, allocations: 0 / 0.823 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.6729, allocations: 0 / 0.823 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.6729, allocations: 0 / 0.823 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.6731, allocations: 185.5 kB / 0.8232 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.6731, allocations: 0 / 0.8232 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.6732, allocations: 23.92 kB / 0.8232 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.6732, allocations: 0 / 0.8232 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.6732, allocations: 4 kB / 0.8232 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.6732, allocations: 4 kB / 0.8232 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.6733, allocations: 7.922 kB / 0.8232 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.6735, allocations: 137 kB / 0.8233 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.461e-05/0.6735, allocations: 85.14 kB / 0.8234 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.6736, allocations: 0 / 0.8234 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.129e-05/0.6736, allocations: 4 kB / 0.8234 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.079e-05/0.6737, allocations: 7.984 kB / 0.8234 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.6737, allocations: 11.94 kB / 0.8234 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.039e-05/0.6737, allocations: 75.28 kB / 0.8235 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6737, allocations: 0 / 0.8235 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001973/0.6739, allocations: 19.94 kB / 0.8235 GB, free: 14.17 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.000109/0.674, allocations: 107.2 kB / 0.8236 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001288/0.6742, allocations: 51.97 kB / 0.8237 GB, free: 14 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.6742, allocations: 0 / 0.8237 GB, free: 14 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.91e-05/0.6742, allocations: 28.03 kB / 0.8237 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.6744, allocations: 15.98 kB / 0.8237 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005118/0.675, allocations: 320.9 kB / 0.824 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.6752, allocations: 0.6853 MB / 0.8247 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.263e-05/0.6753, allocations: 12.66 kB / 0.8247 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.89e-05/0.6753, allocations: 11.44 kB / 0.8247 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.6753, allocations: 0 / 0.8247 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of Templates: time 0.003367/0.6787, allocations: 0.6543 MB / 0.8254 GB, free: 12.23 MB / 0.6544 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)