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.001298/0.001298, allocations: 105.5 kB / 16.41 MB, free: 6.496 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.001316/0.001317, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.263/1.263, allocations: 222.9 MB / 241 MB, free: 14.97 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.8125/0.8125, allocations: 143.1 MB / 434.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 60.94 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1464, allocations: 82.04 MB / 0.6763 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck): time 0.00208/0.1485, allocations: 1.331 MB / 0.6776 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.4885/0.637, allocations: 148.1 MB / 0.8222 GB, free: 1 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.082e-05/0.637, allocations: 1.938 kB / 0.8222 GB, free: 1 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 4.41e-05/0.6371, allocations: 11.92 kB / 0.8222 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.6372, allocations: 11.48 kB / 0.8222 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.6383, allocations: 329.4 kB / 0.8225 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.6384, allocations: 72.42 kB / 0.8226 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.097e-05/0.6385, allocations: 2.344 kB / 0.8226 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.877e-05/0.6385, allocations: 31.03 kB / 0.8226 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.6387, allocations: 36.02 kB / 0.8227 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.6387, allocations: 2.938 kB / 0.8227 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008321/0.6395, allocations: 406.5 kB / 0.8231 GB, free: 460 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.271e-05/0.6396, allocations: 12.83 kB / 0.8231 GB, free: 452 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.979e-05/0.6396, allocations: 29.97 kB / 0.8231 GB, free: 432 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003407/0.64, allocations: 157.3 kB / 0.8233 GB, free: 356 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.64, allocations: 1.875 kB / 0.8233 GB, free: 356 kB / 0.5919 GB Notification: Performance of FrontEnd: time 1.052e-06/0.64, allocations: 7.938 kB / 0.8233 GB, free: 348 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.908e-06/0.64, allocations: 2.75 kB / 0.8233 GB, free: 348 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.0004534/0.6405, allocations: 388 kB / 0.8236 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.6405, allocations: 10.53 kB / 0.8236 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004113/0.6409, allocations: 33.16 kB / 0.8237 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.6411, allocations: 166.7 kB / 0.8238 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.6411, allocations: 10.88 kB / 0.8238 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.725e-05/0.6411, allocations: 15.38 kB / 0.8239 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.6413, allocations: 73.17 kB / 0.8239 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.6413, allocations: 3.984 kB / 0.8239 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.6413, allocations: 6.094 kB / 0.8239 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.6414, allocations: 0 / 0.8239 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.493e-05/0.6415, allocations: 51.14 kB / 0.824 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002003/0.6417, allocations: 184.8 kB / 0.8242 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.6418, allocations: 100.6 kB / 0.8243 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.018e-05/0.6419, allocations: 28.31 kB / 0.8243 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002413/0.6422, allocations: 176.7 kB / 0.8245 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.6422, allocations: 34.5 kB / 0.8245 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.6422, allocations: 0 / 0.8245 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19): time 0.001275/0.6435, allocations: 0.5565 MB / 0.825 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.6435, allocations: 53.5 kB / 0.8251 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.385e-05/0.6436, allocations: 92.48 kB / 0.8252 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.6436, allocations: 32.48 kB / 0.8252 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.68e-05/0.6437, allocations: 84.52 kB / 0.8253 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.96e-05/0.6437, allocations: 74.7 kB / 0.8254 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.574e-05/0.6438, allocations: 40.17 kB / 0.8254 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.6439, allocations: 321.7 kB / 0.8257 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.273e-05/0.644, allocations: 36.38 kB / 0.8257 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.796e-05/0.644, allocations: 74.61 kB / 0.8258 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.6442, allocations: 120.5 kB / 0.8259 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.6442, allocations: 0 / 0.8259 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002083/0.6444, allocations: 152 kB / 0.8261 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.6444, allocations: 7.188 kB / 0.8261 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.6444, allocations: 0 / 0.8261 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.6445, allocations: 2.531 kB / 0.8261 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.6446, allocations: 47.17 kB / 0.8261 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.6446, allocations: 0 / 0.8261 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.495e-05/0.6447, allocations: 6.438 kB / 0.8261 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.6447, allocations: 13.5 kB / 0.8261 GB, free: 13.73 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.081e-05/0.6448, allocations: 131.5 kB / 0.8263 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.6448, allocations: 13.31 kB / 0.8263 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.731e-05/0.6449, allocations: 16.44 kB / 0.8263 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.6449, allocations: 2.438 kB / 0.8263 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.6449, allocations: 0 / 0.8263 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.6449, allocations: 3.938 kB / 0.8263 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.6451, allocations: 190.7 kB / 0.8265 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.6451, allocations: 0 / 0.8265 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.6453, allocations: 40.45 kB / 0.8265 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.6453, allocations: 2.5 kB / 0.8265 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.6453, allocations: 3.984 kB / 0.8265 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.6453, allocations: 2.938 kB / 0.8265 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6453, allocations: 0 / 0.8265 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.6456, allocations: 215.8 kB / 0.8267 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-05/0.6457, allocations: 90.31 kB / 0.8268 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.6457, allocations: 4.062 kB / 0.8268 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.6458, allocations: 12.55 kB / 0.8268 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.472e-05/0.6458, allocations: 13.3 kB / 0.8269 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.6459, allocations: 9.281 kB / 0.8269 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.951e-05/0.6459, allocations: 77.94 kB / 0.8269 GB, free: 13 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6459, allocations: 0 / 0.8269 GB, free: 13 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002096/0.6461, allocations: 29.34 kB / 0.827 GB, free: 12.99 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.0001254/0.6462, allocations: 114 kB / 0.8271 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001948/0.6464, allocations: 107.2 kB / 0.8272 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6465, allocations: 2.781 kB / 0.8272 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.367e-05/0.6465, allocations: 52.41 kB / 0.8272 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.6468, allocations: 18.09 kB / 0.8272 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007472/0.6475, allocations: 0.527 MB / 0.8278 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.6478, allocations: 0.7023 MB / 0.8284 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.168e-05/0.6478, allocations: 14.84 kB / 0.8285 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.6478, allocations: 0 / 0.8285 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of Templates: time 0.002585/0.6504, allocations: 1.323 MB / 0.8297 GB, free: 10.98 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)