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.001485/0.001485, allocations: 109.4 kB / 16.41 MB, free: 6.492 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.00148/0.00148, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.14 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.908/0.908, allocations: 143.1 MB / 434.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 60.47 kB / 0.5962 GB, free: 12.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1579, allocations: 82.03 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.002513/0.1604, allocations: 1.28 MB / 0.6775 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5507/0.7111, allocations: 147.4 MB / 0.8215 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.654e-05/0.7111, allocations: 0 / 0.8215 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.184e-05/0.7112, allocations: 3.984 kB / 0.8215 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.438e-05/0.7112, allocations: 6.75 kB / 0.8215 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004305/0.7116, allocations: 96.41 kB / 0.8216 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.974e-05/0.7117, allocations: 34.62 kB / 0.8216 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.311e-05/0.7118, allocations: 10.55 kB / 0.8217 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.079e-05/0.7118, allocations: 11.91 kB / 0.8217 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.427e-05/0.7119, allocations: 22.25 kB / 0.8217 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.7119, allocations: 2.875 kB / 0.8217 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002611/0.7122, allocations: 79.11 kB / 0.8218 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.7122, allocations: 3.984 kB / 0.8218 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.987e-05/0.7122, allocations: 19.69 kB / 0.8218 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.7124, allocations: 70.72 kB / 0.8219 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.7124, allocations: 0 / 0.8219 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7124, allocations: 0 / 0.8219 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.7124, allocations: 0 / 0.8219 GB, free: 1.484 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.0004824/0.7128, allocations: 359.6 kB / 0.8222 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.7129, allocations: 7.531 kB / 0.8222 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001853/0.7131, allocations: 8.594 kB / 0.8222 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.7132, allocations: 160.6 kB / 0.8224 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.7132, allocations: 14.3 kB / 0.8224 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.7132, allocations: 12.73 kB / 0.8224 GB, free: 0.8906 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.7134, allocations: 43.81 kB / 0.8224 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.7134, allocations: 3.938 kB / 0.8224 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.7134, allocations: 6.906 kB / 0.8224 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.7134, allocations: 0 / 0.8224 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.852e-05/0.7135, allocations: 24.33 kB / 0.8225 GB, free: 0.832 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002094/0.7137, allocations: 167.6 kB / 0.8226 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.7138, allocations: 54.31 kB / 0.8227 GB, free: 0.582 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.258e-05/0.7138, allocations: 10.36 kB / 0.8227 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.7138, allocations: 2.25 kB / 0.8227 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.7139, allocations: 38.5 kB / 0.8227 GB, free: 0.5273 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.7139, allocations: 0 / 0.8227 GB, free: 0.5273 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.0007908/0.7146, allocations: 374.1 kB / 0.8231 GB, free: 204 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.7147, allocations: 53.72 kB / 0.8231 GB, free: 140 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.653e-05/0.7148, allocations: 92.58 kB / 0.8232 GB, free: 40 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.7148, allocations: 29.7 kB / 0.8232 GB, free: 4 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/0.7148, allocations: 80.14 kB / 0.8233 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.871e-05/0.7149, allocations: 40.56 kB / 0.8234 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.175e-05/0.7149, allocations: 29.45 kB / 0.8234 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.7151, allocations: 324.9 kB / 0.8237 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.753e-05/0.7151, allocations: 18.36 kB / 0.8237 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.412e-05/0.7152, allocations: 37.27 kB / 0.8238 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.958e-05/0.7153, allocations: 57.23 kB / 0.8238 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.7153, allocations: 2.781 kB / 0.8238 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001449/0.7154, allocations: 103.4 kB / 0.8239 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.7154, allocations: 8.766 kB / 0.8239 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.7154, allocations: 2.906 kB / 0.8239 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.7155, allocations: 0 / 0.8239 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.7156, allocations: 21.91 kB / 0.8239 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.7156, allocations: 2.594 kB / 0.8239 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.973e-05/0.7156, allocations: 0 / 0.8239 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.7156, allocations: 3.094 kB / 0.8239 GB, free: 15.39 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 0.0001031/0.7157, allocations: 126.5 kB / 0.8241 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.822e-05/0.7157, allocations: 10.08 kB / 0.8241 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.659e-05/0.7158, allocations: 7.969 kB / 0.8241 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.7158, allocations: 2.531 kB / 0.8241 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.7158, allocations: 4 kB / 0.8241 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.7158, allocations: 3.984 kB / 0.8241 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.716, allocations: 175.8 kB / 0.8243 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.716, allocations: 1.812 kB / 0.8243 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.7161, allocations: 21.92 kB / 0.8243 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.7161, allocations: 2.875 kB / 0.8243 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.7161, allocations: 4 kB / 0.8243 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.7161, allocations: 0 / 0.8243 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.7161, allocations: 0 / 0.8243 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.7163, allocations: 141.1 kB / 0.8244 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.692e-05/0.7164, allocations: 87.06 kB / 0.8245 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.7164, allocations: 6.562 kB / 0.8245 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.138e-05/0.7165, allocations: 7.062 kB / 0.8245 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.361e-05/0.7165, allocations: 6.297 kB / 0.8245 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.7165, allocations: 2.5 kB / 0.8245 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.225e-05/0.7166, allocations: 75.28 kB / 0.8246 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.7166, allocations: 0 / 0.8246 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001916/0.7168, allocations: 16.56 kB / 0.8246 GB, free: 14.72 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.0001235/0.7169, allocations: 109.6 kB / 0.8247 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001436/0.717, allocations: 53.25 kB / 0.8248 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.717, allocations: 0 / 0.8248 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.848e-05/0.7171, allocations: 29.72 kB / 0.8248 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.7173, allocations: 14.28 kB / 0.8248 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006058/0.7179, allocations: 341.3 kB / 0.8251 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.7183, allocations: 0.6866 MB / 0.8258 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/0.7183, allocations: 12.44 kB / 0.8258 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.7183, allocations: 3.938 kB / 0.8258 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of Templates: time 0.002429/0.7207, allocations: 0.8425 MB / 0.8267 GB, free: 13.13 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)