Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.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.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow") translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 104.1 kB / 15.98 MB, free: 5.891 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.00108/0.00108, allocations: 187.5 kB / 16.9 MB, free: 5.746 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.37/1.37, allocations: 222.9 MB / 240.6 MB, free: 13.71 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.8633/0.8633, allocations: 143.1 MB / 433.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001384, allocations: 59.91 kB / 0.5143 GB, free: 15.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3928, allocations: 82.03 MB / 0.5944 GB, free: 16.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.5826/0.9755, allocations: 201.7 MB / 0.7914 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009075/0.9846, allocations: 6.358 MB / 0.7976 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001978/0.9867, allocations: 31.16 kB / 0.7976 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001939/0.9887, allocations: 0.6574 MB / 0.7982 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006425/0.9951, allocations: 2.52 MB / 0.8007 GB, free: 1.246 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/IBPSA/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition ‘zonFlo.useDefaultProperties and initial()‘. Notification: Performance of NFTyping.typeClassSections: time 0.001751/0.9969, allocations: 0.6379 MB / 0.8013 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003758/1.001, allocations: 3.265 MB / 0.8045 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001437/1.002, allocations: 1.112 MB / 0.8056 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002428/1.005, allocations: 1.264 MB / 0.8068 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002348/1.007, allocations: 1.183 MB / 0.808 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002104/1.007, allocations: 128.9 kB / 0.8081 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004708/1.012, allocations: 2.469 MB / 0.8105 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006325/1.012, allocations: 0.5141 MB / 0.811 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001054/1.014, allocations: 0.7447 MB / 0.8118 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00323/1.017, allocations: 2.169 MB / 0.8139 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.017, allocations: 0 / 0.8139 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.424e-06/1.017, allocations: 0.875 kB / 0.8139 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.429e-05/1.017, allocations: 3.938 kB / 0.8139 GB, free: 0.5977 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.004376/1.021, allocations: 1.769 MB / 0.8156 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/1.021, allocations: 9.281 kB / 0.8156 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002355/1.024, allocations: 349.2 kB / 0.8159 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/1.025, allocations: 0.8441 MB / 0.8168 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.219e-05/1.025, allocations: 71.39 kB / 0.8168 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/1.025, allocations: 103.1 kB / 0.8169 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001969/1.027, allocations: 1.197 MB / 0.8181 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/1.027, allocations: 0 / 0.8181 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/1.027, allocations: 41 kB / 0.8181 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.759e-05/1.027, allocations: 63.5 kB / 0.8182 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001789/1.029, allocations: 1.249 MB / 0.8194 GB, free: 15.27 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006871/1.036, allocations: 5.067 MB / 0.8244 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/1.038, allocations: 1.152 MB / 0.8255 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006854/1.038, allocations: 0.5087 MB / 0.826 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.453e-05/1.038, allocations: 17.41 kB / 0.826 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007192/1.039, allocations: 490.9 kB / 0.8265 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.645e-06/1.039, allocations: 0.875 kB / 0.8265 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.001976/1.041, allocations: 1.158 MB / 0.8276 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/1.041, allocations: 58.75 kB / 0.8277 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006943/1.042, allocations: 0.5867 MB / 0.8282 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.833e-05/1.042, allocations: 36.48 kB / 0.8283 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003394/1.042, allocations: 458.8 kB / 0.8287 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002639/1.043, allocations: 266.1 kB / 0.829 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/1.043, allocations: 131.5 kB / 0.8291 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001716/1.043, allocations: 388 kB / 0.8295 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004925/1.043, allocations: 328.7 kB / 0.8298 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006225/1.044, allocations: 454.8 kB / 0.8302 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/1.045, allocations: 0.8201 MB / 0.831 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/1.045, allocations: 1.219 kB / 0.831 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001411/1.047, allocations: 0.935 MB / 0.8319 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/1.047, allocations: 7.594 kB / 0.8319 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/1.047, allocations: 6.906 kB / 0.8319 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/1.047, allocations: 8.312 kB / 0.8319 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006527/1.047, allocations: 156.9 kB / 0.8321 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/1.048, allocations: 7.656 kB / 0.8321 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/1.049, allocations: 154.5 kB / 0.8323 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.102e-05/1.049, allocations: 24.53 kB / 0.8323 GB, free: 7.434 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0005527/1.049, allocations: 329.9 kB / 0.8326 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/1.049, allocations: 84.38 kB / 0.8327 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002499/1.05, allocations: 108.8 kB / 0.8328 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/1.05, allocations: 11.67 kB / 0.8328 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/1.05, allocations: 0 / 0.8328 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001236/1.051, allocations: 1.091 MB / 0.8339 GB, free: 6.262 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003439/1.054, allocations: 2.323 MB / 0.8361 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/1.054, allocations: 3.938 kB / 0.8361 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008218/1.055, allocations: 169.7 kB / 0.8363 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/1.055, allocations: 8.031 kB / 0.8363 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.949e-05/1.055, allocations: 23.98 kB / 0.8363 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/1.055, allocations: 0 / 0.8363 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/1.055, allocations: 6.906 kB / 0.8363 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/1.057, allocations: 1.354 MB / 0.8376 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004549/1.058, allocations: 248 kB / 0.8379 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/1.058, allocations: 16 kB / 0.8379 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008454/1.059, allocations: 107.8 kB / 0.838 GB, free: 2.695 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.919e-05/1.059, allocations: 47.53 kB / 0.838 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.562e-05/1.059, allocations: 24 kB / 0.8381 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005234/1.059, allocations: 415 kB / 0.8385 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/1.059, allocations: 0 / 0.8385 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001005/1.06, allocations: 367.1 kB / 0.8388 GB, free: 1.871 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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.0003226/1.061, allocations: 171.9 kB / 0.839 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001745/1.062, allocations: 1.032 MB / 0.84 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.062, allocations: 4 kB / 0.84 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005151/1.063, allocations: 426.4 kB / 0.8404 GB, free: 300 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002515/1.065, allocations: 0.5906 MB / 0.841 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003956/1.069, allocations: 2.709 MB / 0.8436 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007198/1.07, allocations: 1.14 MB / 0.8447 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003332/1.07, allocations: 83.42 kB / 0.8448 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of SimCode: time 1.002e-06/1.07, allocations: 0 / 0.8448 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of Templates: time 0.02556/1.096, allocations: 15.8 MB / 0.8602 GB, free: 12.1 MB / 0.6231 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.sim & ./BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)