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.001509/0.001509, allocations: 112.1 kB / 16.37 MB, free: 6.344 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.001677/0.001677, allocations: 185.5 kB / 17.3 MB, free: 5.898 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.18 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.942/0.942, allocations: 143.1 MB / 434.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 64.88 kB / 0.5961 GB, free: 12.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1513, allocations: 82.03 MB / 0.6762 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002091/0.1534, allocations: 1.275 MB / 0.6775 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5308/0.6842, allocations: 147 MB / 0.821 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.54e-05/0.6843, allocations: 0 / 0.821 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.975e-05/0.6843, allocations: 7.922 kB / 0.821 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.279e-05/0.6844, allocations: 9.922 kB / 0.821 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004192/0.6848, allocations: 98.36 kB / 0.8211 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.521e-05/0.6849, allocations: 27.39 kB / 0.8212 GB, free: 1.887 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.057e-05/0.685, allocations: 2.75 kB / 0.8212 GB, free: 1.887 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.927e-05/0.685, allocations: 22.59 kB / 0.8212 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.474e-05/0.6851, allocations: 17.52 kB / 0.8212 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.6851, allocations: 2.156 kB / 0.8212 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002464/0.6853, allocations: 75.64 kB / 0.8213 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.74e-05/0.6854, allocations: 14.42 kB / 0.8213 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.411e-05/0.6854, allocations: 13.44 kB / 0.8213 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.6856, allocations: 70.78 kB / 0.8214 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6856, allocations: 4 kB / 0.8214 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6856, allocations: 0 / 0.8214 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.6856, allocations: 4.594 kB / 0.8214 GB, free: 1.762 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.000436/0.6861, allocations: 344.7 kB / 0.8217 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.6861, allocations: 7.875 kB / 0.8217 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001949/0.6863, allocations: 22.92 kB / 0.8217 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.6864, allocations: 160.6 kB / 0.8219 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.6864, allocations: 6.031 kB / 0.8219 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.6865, allocations: 6.844 kB / 0.8219 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.6866, allocations: 53.98 kB / 0.822 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.6866, allocations: 0 / 0.822 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.6866, allocations: 0 / 0.822 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.6867, allocations: 2.281 kB / 0.822 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.097e-05/0.6867, allocations: 19.67 kB / 0.822 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001965/0.6869, allocations: 167.8 kB / 0.8221 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.7e-05/0.687, allocations: 52.8 kB / 0.8222 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.779e-05/0.6871, allocations: 17.86 kB / 0.8222 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.6871, allocations: 1.875 kB / 0.8222 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.6871, allocations: 34.56 kB / 0.8222 GB, free: 0.8242 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 2.444e-06/0.6871, allocations: 0 / 0.8222 GB, free: 0.8242 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.0007686/0.6879, allocations: 379.5 kB / 0.8226 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.6879, allocations: 58.28 kB / 0.8227 GB, free: 436 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.686e-05/0.688, allocations: 93.8 kB / 0.8227 GB, free: 332 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.688, allocations: 32.42 kB / 0.8228 GB, free: 296 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.995e-05/0.6881, allocations: 80.14 kB / 0.8229 GB, free: 212 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.6881, allocations: 36.52 kB / 0.8229 GB, free: 180 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.6882, allocations: 25.31 kB / 0.8229 GB, free: 156 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.6883, allocations: 322.8 kB / 0.8232 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.509e-05/0.6884, allocations: 20.64 kB / 0.8232 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.78e-05/0.6884, allocations: 40.83 kB / 0.8233 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.171e-05/0.6885, allocations: 60.97 kB / 0.8233 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.6885, allocations: 0 / 0.8233 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001218/0.6886, allocations: 90.66 kB / 0.8234 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.6886, allocations: 4.719 kB / 0.8234 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.6887, allocations: 0 / 0.8234 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.6887, allocations: 2.062 kB / 0.8234 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.6888, allocations: 29.98 kB / 0.8235 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.6888, allocations: 6.469 kB / 0.8235 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.306e-05/0.6888, allocations: 0 / 0.8235 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.6889, allocations: 5.75 kB / 0.8235 GB, free: 15.68 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.661e-05/0.689, allocations: 117.1 kB / 0.8236 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.322e-05/0.689, allocations: 2.75 kB / 0.8236 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.247e-05/0.689, allocations: 18.17 kB / 0.8236 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.689, allocations: 0 / 0.8236 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.689, allocations: 5.344 kB / 0.8236 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.689, allocations: 3.938 kB / 0.8236 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.6892, allocations: 179.2 kB / 0.8238 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.6892, allocations: 0 / 0.8238 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.6893, allocations: 17.62 kB / 0.8238 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.6893, allocations: 2.938 kB / 0.8238 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.6893, allocations: 4 kB / 0.8238 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.6893, allocations: 3.984 kB / 0.8238 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.6893, allocations: 0 / 0.8238 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.6895, allocations: 132.7 kB / 0.8239 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.45e-05/0.6896, allocations: 91.23 kB / 0.824 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.6896, allocations: 6.281 kB / 0.824 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.166e-05/0.6897, allocations: 3.031 kB / 0.824 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.6898, allocations: 14.69 kB / 0.824 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.6898, allocations: 2.094 kB / 0.824 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.063e-05/0.6898, allocations: 78.06 kB / 0.8241 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6898, allocations: 0 / 0.8241 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001914/0.69, allocations: 16.31 kB / 0.8241 GB, free: 15.02 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.00011/0.6901, allocations: 102.6 kB / 0.8242 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00013/0.6903, allocations: 58.48 kB / 0.8243 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.6903, allocations: 3.938 kB / 0.8243 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.51e-05/0.6903, allocations: 24.95 kB / 0.8243 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.6905, allocations: 17.55 kB / 0.8243 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005457/0.6911, allocations: 350 kB / 0.8247 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.6914, allocations: 0.6895 MB / 0.8253 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.118e-05/0.6914, allocations: 11.97 kB / 0.8254 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.6914, allocations: 4 kB / 0.8254 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of Templates: time 0.002071/0.6935, allocations: 0.8373 MB / 0.8262 GB, free: 13.43 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)