Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.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.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001203/0.001203, allocations: 187 kB / 17.34 MB, free: 5.719 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.09 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.8653/0.8653, allocations: 143 MB / 434.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 55.97 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1508, allocations: 82.04 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck): time 0.002586/0.1535, allocations: 1.339 MB / 0.6776 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5437/0.6972, allocations: 148.1 MB / 0.8222 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.811e-05/0.6973, allocations: 0 / 0.8222 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 4.177e-05/0.6974, allocations: 7.922 kB / 0.8222 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.6975, allocations: 10.64 kB / 0.8222 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.6986, allocations: 332.3 kB / 0.8225 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.6987, allocations: 68.78 kB / 0.8226 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.07e-05/0.6987, allocations: 6.062 kB / 0.8226 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.499e-05/0.6988, allocations: 30.72 kB / 0.8226 GB, free: 0.7188 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 9.685e-05/0.6989, allocations: 32.55 kB / 0.8227 GB, free: 0.6992 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.6989, allocations: 2.906 kB / 0.8227 GB, free: 0.6992 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000776/0.6997, allocations: 414 kB / 0.8231 GB, free: 484 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.527e-05/0.6998, allocations: 13.77 kB / 0.8231 GB, free: 476 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.831e-05/0.6998, allocations: 33.97 kB / 0.8231 GB, free: 456 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004161/0.7003, allocations: 154.6 kB / 0.8233 GB, free: 380 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.7003, allocations: 2 kB / 0.8233 GB, free: 380 kB / 0.5919 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7003, allocations: 0 / 0.8233 GB, free: 380 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.7003, allocations: 0 / 0.8233 GB, free: 380 kB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004961/0.7008, allocations: 390 kB / 0.8236 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.7009, allocations: 14.34 kB / 0.8237 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003992/0.7013, allocations: 35.25 kB / 0.8237 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.7014, allocations: 168.5 kB / 0.8238 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.7014, allocations: 6.469 kB / 0.8239 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.807e-05/0.7014, allocations: 15.34 kB / 0.8239 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.7016, allocations: 75.34 kB / 0.8239 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.7016, allocations: 0 / 0.8239 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.7016, allocations: 6.75 kB / 0.8239 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.7017, allocations: 0 / 0.8239 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.18e-05/0.7018, allocations: 47.23 kB / 0.824 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001904/0.702, allocations: 188.3 kB / 0.8242 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.7021, allocations: 100.8 kB / 0.8243 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.577e-05/0.7022, allocations: 32.16 kB / 0.8243 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002218/0.7024, allocations: 181.1 kB / 0.8245 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.7025, allocations: 30.56 kB / 0.8245 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.7025, allocations: 0 / 0.8245 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19): time 0.001279/0.7038, allocations: 0.5492 MB / 0.825 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.7038, allocations: 54.16 kB / 0.8251 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.57e-05/0.7039, allocations: 100.5 kB / 0.8252 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.7039, allocations: 32.52 kB / 0.8252 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.688e-05/0.7039, allocations: 80.52 kB / 0.8253 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.023e-05/0.704, allocations: 70.2 kB / 0.8254 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.369e-05/0.7041, allocations: 42.86 kB / 0.8254 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.7042, allocations: 325.5 kB / 0.8257 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.723e-05/0.7042, allocations: 37 kB / 0.8257 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.692e-05/0.7043, allocations: 67.61 kB / 0.8258 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.7045, allocations: 114.6 kB / 0.8259 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.7045, allocations: 0 / 0.8259 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002013/0.7047, allocations: 159.2 kB / 0.8261 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.7047, allocations: 5 kB / 0.8261 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.7047, allocations: 7 kB / 0.8261 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.7048, allocations: 0 / 0.8261 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.7049, allocations: 36.23 kB / 0.8261 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.7049, allocations: 2.844 kB / 0.8261 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.591e-05/0.705, allocations: 7.938 kB / 0.8261 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.705, allocations: 11.34 kB / 0.8261 GB, free: 13.76 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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 9.498e-05/0.7051, allocations: 120.5 kB / 0.8263 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.7051, allocations: 12.86 kB / 0.8263 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.486e-05/0.7052, allocations: 26.28 kB / 0.8263 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.7052, allocations: 3.281 kB / 0.8263 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.7052, allocations: 0 / 0.8263 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.7052, allocations: 3.938 kB / 0.8263 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.7054, allocations: 193.3 kB / 0.8265 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.7054, allocations: 0.875 kB / 0.8265 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.7056, allocations: 38.7 kB / 0.8265 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.7056, allocations: 0 / 0.8265 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.7056, allocations: 6.562 kB / 0.8265 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.7056, allocations: 0 / 0.8265 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.7056, allocations: 3.984 kB / 0.8265 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003131/0.706, allocations: 217.9 kB / 0.8267 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.448e-05/0.706, allocations: 90.12 kB / 0.8268 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.7061, allocations: 2.625 kB / 0.8268 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.7062, allocations: 10.48 kB / 0.8268 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/0.7062, allocations: 13.39 kB / 0.8268 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.7062, allocations: 13.22 kB / 0.8269 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.086e-05/0.7063, allocations: 81.69 kB / 0.8269 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7063, allocations: 0 / 0.8269 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000211/0.7065, allocations: 28.38 kB / 0.827 GB, free: 13.02 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0001358/0.7067, allocations: 105.2 kB / 0.8271 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001948/0.7069, allocations: 114.6 kB / 0.8272 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7069, allocations: 0 / 0.8272 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.993e-05/0.7069, allocations: 53.75 kB / 0.8272 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.7072, allocations: 17.53 kB / 0.8272 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008303/0.708, allocations: 0.534 MB / 0.8278 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.7084, allocations: 0.7012 MB / 0.8284 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.632e-05/0.7085, allocations: 18.75 kB / 0.8285 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.7085, allocations: 0 / 0.8285 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of Templates: time 0.003283/0.7118, allocations: 1.303 MB / 0.8297 GB, free: 11.02 MB / 0.6075 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1)