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.005663/0.005663, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001078/0.001079, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.8221/0.8221, allocations: 143 MB / 433.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001136, allocations: 64.12 kB / 0.5955 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1699, allocations: 82.03 MB / 0.6756 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002134/0.1721, allocations: 1.292 MB / 0.6769 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.4866/0.6587, allocations: 147 MB / 0.8204 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.703e-05/0.6587, allocations: 0 / 0.8204 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.819e-05/0.6588, allocations: 0 / 0.8204 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.44e-05/0.6589, allocations: 7.922 kB / 0.8204 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003269/0.6592, allocations: 92.69 kB / 0.8205 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 6.458e-05/0.6593, allocations: 41.17 kB / 0.8206 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 2.895e-05/0.6593, allocations: 2.75 kB / 0.8206 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.631e-05/0.6593, allocations: 15.34 kB / 0.8206 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 4.861e-05/0.6594, allocations: 12.75 kB / 0.8206 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.6594, allocations: 2.844 kB / 0.8206 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002153/0.6596, allocations: 81 kB / 0.8207 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.23e-05/0.6597, allocations: 6.609 kB / 0.8207 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.539e-05/0.6597, allocations: 19.39 kB / 0.8207 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.6598, allocations: 66.72 kB / 0.8207 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.6598, allocations: 0 / 0.8207 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6598, allocations: 0 / 0.8207 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.6598, allocations: 0 / 0.8207 GB, free: 1.734 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.0003386/0.6602, allocations: 355 kB / 0.8211 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.674e-05/0.6602, allocations: 10.06 kB / 0.8211 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/0.6604, allocations: 16.11 kB / 0.8211 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.853e-05/0.6605, allocations: 163.4 kB / 0.8213 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.6605, allocations: 11.88 kB / 0.8213 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.6605, allocations: 8.656 kB / 0.8213 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.827e-05/0.6606, allocations: 48.11 kB / 0.8213 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.6607, allocations: 0 / 0.8213 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.6607, allocations: 1.812 kB / 0.8213 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.6607, allocations: 0 / 0.8213 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.093e-05/0.6607, allocations: 18.67 kB / 0.8214 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001411/0.6609, allocations: 165.3 kB / 0.8215 GB, free: 0.8906 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.03e-05/0.661, allocations: 62.09 kB / 0.8216 GB, free: 0.8398 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.641e-05/0.661, allocations: 20.53 kB / 0.8216 GB, free: 0.8242 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.661, allocations: 0 / 0.8216 GB, free: 0.8242 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.661, allocations: 32.98 kB / 0.8216 GB, free: 0.7852 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 8.01e-07/0.661, allocations: 0 / 0.8216 GB, free: 0.7852 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.0005997/0.6616, allocations: 369.1 kB / 0.822 GB, free: 472 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.6617, allocations: 54.31 kB / 0.822 GB, free: 408 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.083e-05/0.6617, allocations: 96.44 kB / 0.8221 GB, free: 304 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.6618, allocations: 29.7 kB / 0.8221 GB, free: 268 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.427e-05/0.6618, allocations: 82.95 kB / 0.8222 GB, free: 184 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.6618, allocations: 33.8 kB / 0.8223 GB, free: 152 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.6619, allocations: 28.03 kB / 0.8223 GB, free: 128 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.662, allocations: 326.8 kB / 0.8226 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.995e-05/0.662, allocations: 18.31 kB / 0.8226 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.682e-05/0.6621, allocations: 40.12 kB / 0.8227 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.667e-05/0.6621, allocations: 61.06 kB / 0.8227 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.6621, allocations: 0 / 0.8227 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000122/0.6623, allocations: 103.1 kB / 0.8228 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.6623, allocations: 4.844 kB / 0.8228 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.6623, allocations: 3.938 kB / 0.8228 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.6623, allocations: 2.25 kB / 0.8228 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.6624, allocations: 26.02 kB / 0.8228 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.6624, allocations: 2.438 kB / 0.8228 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.872e-05/0.6625, allocations: 0 / 0.8228 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.6625, allocations: 6.469 kB / 0.8229 GB, free: 15.64 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 7.263e-05/0.6626, allocations: 120.1 kB / 0.823 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.6626, allocations: 13.39 kB / 0.823 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.475e-05/0.6626, allocations: 7.969 kB / 0.823 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.6626, allocations: 0 / 0.823 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.6626, allocations: 0 / 0.823 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.6626, allocations: 10.27 kB / 0.823 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.6628, allocations: 167.7 kB / 0.8232 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.6628, allocations: 3.188 kB / 0.8232 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.6629, allocations: 25.42 kB / 0.8232 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.6629, allocations: 0 / 0.8232 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.6629, allocations: 2.719 kB / 0.8232 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.6629, allocations: 0 / 0.8232 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.6629, allocations: 3.938 kB / 0.8232 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.6631, allocations: 145.6 kB / 0.8233 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.143e-05/0.6632, allocations: 79.45 kB / 0.8234 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.6632, allocations: 2.594 kB / 0.8234 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.12e-05/0.6633, allocations: 9.844 kB / 0.8234 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.549e-05/0.6633, allocations: 2.906 kB / 0.8234 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.6633, allocations: 2.781 kB / 0.8234 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.974e-05/0.6634, allocations: 75.28 kB / 0.8235 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6634, allocations: 0 / 0.8235 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001878/0.6636, allocations: 16.44 kB / 0.8235 GB, free: 14.99 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.0001147/0.6637, allocations: 119.3 kB / 0.8236 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001174/0.6638, allocations: 48.2 kB / 0.8237 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6638, allocations: 0 / 0.8237 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.736e-05/0.6639, allocations: 29.73 kB / 0.8237 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.6641, allocations: 12.34 kB / 0.8237 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005094/0.6646, allocations: 325 kB / 0.824 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.6648, allocations: 0.6866 MB / 0.8247 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.576e-05/0.6649, allocations: 9.422 kB / 0.8247 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.45e-05/0.6649, allocations: 16.78 kB / 0.8247 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.6649, allocations: 0 / 0.8247 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of Templates: time 0.002371/0.6673, allocations: 0.6637 MB / 0.8254 GB, free: 13.51 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)