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.005579/0.005579, allocations: 100.1 kB / 15.73 MB, free: 6.004 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.001169/0.001169, allocations: 191.5 kB / 16.67 MB, free: 5.926 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.394/1.394, 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.8728/0.8728, allocations: 143 MB / 433.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 64.53 kB / 0.5955 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.157, allocations: 82.03 MB / 0.6756 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck): time 0.002261/0.1592, allocations: 1.331 MB / 0.6769 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.6087/0.768, allocations: 148.1 MB / 0.8215 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.153e-05/0.7681, allocations: 0 / 0.8215 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 4.53e-05/0.7681, allocations: 9.766 kB / 0.8215 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.7683, allocations: 10.48 kB / 0.8215 GB, free: 1.008 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009507/0.7692, allocations: 338.3 kB / 0.8219 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.7694, allocations: 64.33 kB / 0.8219 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.226e-05/0.7694, allocations: 5.156 kB / 0.8219 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.859e-05/0.7695, allocations: 31.03 kB / 0.822 GB, free: 0.7188 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.7696, allocations: 35.95 kB / 0.822 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.7696, allocations: 2.812 kB / 0.822 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007413/0.7703, allocations: 410.6 kB / 0.8224 GB, free: 484 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.154e-05/0.7704, allocations: 12.7 kB / 0.8224 GB, free: 476 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.323e-05/0.7705, allocations: 29.97 kB / 0.8224 GB, free: 456 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002994/0.7708, allocations: 161.8 kB / 0.8226 GB, free: 376 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.7708, allocations: 0 / 0.8226 GB, free: 376 kB / 0.5919 GB Notification: Performance of FrontEnd: time 1.854e-06/0.7708, allocations: 1.781 kB / 0.8226 GB, free: 376 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.7708, allocations: 0 / 0.8226 GB, free: 376 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.0004852/0.7713, allocations: 397.4 kB / 0.823 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.7713, allocations: 11.47 kB / 0.823 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004149/0.7718, allocations: 35.83 kB / 0.823 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.7719, allocations: 164.6 kB / 0.8232 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.7719, allocations: 8.812 kB / 0.8232 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.7719, allocations: 12.78 kB / 0.8232 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.7721, allocations: 80.48 kB / 0.8233 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.7722, allocations: 2.406 kB / 0.8233 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.7722, allocations: 0 / 0.8233 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.7722, allocations: 2.188 kB / 0.8233 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.079e-05/0.7723, allocations: 53.08 kB / 0.8233 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001963/0.7725, allocations: 181.3 kB / 0.8235 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.7727, allocations: 96.66 kB / 0.8236 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.236e-05/0.7727, allocations: 31.38 kB / 0.8236 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002301/0.773, allocations: 176.8 kB / 0.8238 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.773, allocations: 37.84 kB / 0.8238 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 2.765e-06/0.773, allocations: 3.984 kB / 0.8238 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19): time 0.001264/0.7743, allocations: 0.5478 MB / 0.8244 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.7743, allocations: 59.56 kB / 0.8244 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.083e-05/0.7744, allocations: 96.36 kB / 0.8245 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.7744, allocations: 29.7 kB / 0.8245 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.989e-05/0.7745, allocations: 83.39 kB / 0.8246 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.07e-05/0.7745, allocations: 68.2 kB / 0.8247 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/0.7746, allocations: 45.3 kB / 0.8247 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.7747, allocations: 321.8 kB / 0.825 GB, free: 14 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.046e-05/0.7748, allocations: 38.19 kB / 0.8251 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.914e-05/0.7749, allocations: 69.55 kB / 0.8251 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.775, allocations: 112.7 kB / 0.8252 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.775, allocations: 0 / 0.8252 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002115/0.7752, allocations: 162.1 kB / 0.8254 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.7753, allocations: 10.94 kB / 0.8254 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.7753, allocations: 0 / 0.8254 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.7753, allocations: 3 kB / 0.8254 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.7755, allocations: 39.14 kB / 0.8254 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.7755, allocations: 4.141 kB / 0.8254 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.654e-05/0.7755, allocations: 11.41 kB / 0.8255 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.7756, allocations: 4.281 kB / 0.8255 GB, free: 13.75 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.172e-05/0.7757, allocations: 133.1 kB / 0.8256 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.973e-05/0.7757, allocations: 9.094 kB / 0.8256 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.65e-05/0.7757, allocations: 22.97 kB / 0.8256 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.7758, allocations: 0 / 0.8256 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.7758, allocations: 2.938 kB / 0.8256 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.7758, allocations: 3.938 kB / 0.8256 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.7759, allocations: 191.9 kB / 0.8258 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.7759, allocations: 0 / 0.8258 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.7761, allocations: 38.05 kB / 0.8258 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.7761, allocations: 1.719 kB / 0.8258 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.7762, allocations: 8.984 kB / 0.8259 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.7762, allocations: 2.656 kB / 0.8259 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.7762, allocations: 4 kB / 0.8259 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.7765, allocations: 203.4 kB / 0.8261 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.355e-05/0.7765, allocations: 94.41 kB / 0.8261 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.7766, allocations: 0 / 0.8261 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.7767, allocations: 12.83 kB / 0.8262 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.088e-05/0.7767, allocations: 9.359 kB / 0.8262 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.7768, allocations: 12.25 kB / 0.8262 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.374e-05/0.7768, allocations: 82.53 kB / 0.8263 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7768, allocations: 0 / 0.8263 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002202/0.777, allocations: 23.72 kB / 0.8263 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.0001339/0.7772, allocations: 112.4 kB / 0.8264 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002063/0.7774, allocations: 105.1 kB / 0.8265 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7774, allocations: 0 / 0.8265 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.099e-05/0.7775, allocations: 66.45 kB / 0.8266 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.7778, allocations: 14.17 kB / 0.8266 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007773/0.7786, allocations: 0.5064 MB / 0.8271 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.7788, allocations: 0.7016 MB / 0.8277 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.858e-05/0.7789, allocations: 27.09 kB / 0.8278 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.814e-05/0.779, allocations: 13.12 kB / 0.8278 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.779, allocations: 2.594 kB / 0.8278 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of Templates: time 0.004073/0.7831, allocations: 1.132 MB / 0.8289 GB, free: 11.13 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)