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.001287/0.001287, allocations: 116.5 kB / 16.42 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.001236/0.001236, allocations: 183 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.352/1.352, 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.8775/0.8775, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 64.05 kB / 0.5962 GB, free: 12.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1492, allocations: 82.03 MB / 0.6763 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.5315/0.6807, allocations: 204.8 MB / 0.8763 GB, free: 0.9844 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01057/0.6913, allocations: 6.394 MB / 0.8826 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001211/0.6925, allocations: 43.81 kB / 0.8826 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001871/0.6944, allocations: 0.7694 MB / 0.8834 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0065/0.7009, allocations: 2.762 MB / 0.8861 GB, free: 6.984 MB / 0.6544 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.001737/0.7026, allocations: 0.7236 MB / 0.8868 GB, free: 6.27 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004371/0.707, allocations: 3.269 MB / 0.89 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/0.7083, allocations: 0.9414 MB / 0.8909 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002167/0.7105, allocations: 1.292 MB / 0.8921 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002008/0.7125, allocations: 1.09 MB / 0.8932 GB, free: 15.64 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001786/0.7126, allocations: 128 kB / 0.8933 GB, free: 15.52 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004457/0.7171, allocations: 2.366 MB / 0.8956 GB, free: 13.14 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005973/0.7177, allocations: 0.5297 MB / 0.8962 GB, free: 12.61 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000909/0.7186, allocations: 0.7353 MB / 0.8969 GB, free: 11.88 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004943/0.7235, allocations: 2.901 MB / 0.8997 GB, free: 8.969 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.7236, allocations: 0 / 0.8997 GB, free: 8.969 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7236, allocations: 0 / 0.8997 GB, free: 8.969 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.01e-05/0.7236, allocations: 0 / 0.8997 GB, free: 8.969 MB / 0.67 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.004229/0.7278, allocations: 1.809 MB / 0.9015 GB, free: 7.102 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.7278, allocations: 8.031 kB / 0.9015 GB, free: 7.094 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00217/0.73, allocations: 354.9 kB / 0.9018 GB, free: 6.746 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.7315, allocations: 0.8785 MB / 0.9027 GB, free: 5.824 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.682e-05/0.7316, allocations: 77.95 kB / 0.9028 GB, free: 5.746 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/0.7317, allocations: 115.9 kB / 0.9029 GB, free: 5.633 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/0.7337, allocations: 1.187 MB / 0.904 GB, free: 4.414 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.7338, allocations: 0 / 0.904 GB, free: 4.414 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.7339, allocations: 40 kB / 0.9041 GB, free: 4.375 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.629e-05/0.7339, allocations: 62.06 kB / 0.9041 GB, free: 4.312 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.736, allocations: 1.242 MB / 0.9053 GB, free: 3.062 MB / 0.67 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.006574/0.7425, allocations: 5.117 MB / 0.9103 GB, free: 13.49 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.7441, allocations: 1.135 MB / 0.9114 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007392/0.7449, allocations: 487.6 kB / 0.9119 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 6.508e-05/0.7449, allocations: 20.78 kB / 0.9119 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007418/0.7457, allocations: 484.2 kB / 0.9124 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=76): time 1.943e-06/0.7457, allocations: 0 / 0.9124 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.002053/0.7477, allocations: 1.169 MB / 0.9135 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.7478, allocations: 68 kB / 0.9136 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007006/0.7485, allocations: 0.5745 MB / 0.9142 GB, free: 9.453 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.967e-05/0.7485, allocations: 37.7 kB / 0.9142 GB, free: 9.41 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003541/0.7489, allocations: 472.6 kB / 0.9146 GB, free: 8.941 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002577/0.7491, allocations: 273.5 kB / 0.9149 GB, free: 8.672 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002212/0.7494, allocations: 138.6 kB / 0.915 GB, free: 8.531 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002003/0.7496, allocations: 378.8 kB / 0.9154 GB, free: 8.152 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000523/0.7501, allocations: 333.8 kB / 0.9157 GB, free: 7.824 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006097/0.7507, allocations: 457.8 kB / 0.9161 GB, free: 7.344 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.752, allocations: 0.8194 MB / 0.9169 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.752, allocations: 0 / 0.9169 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001604/0.7536, allocations: 0.9301 MB / 0.9179 GB, free: 5.551 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.7536, allocations: 8 kB / 0.9179 GB, free: 5.543 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.7537, allocations: 8.344 kB / 0.9179 GB, free: 5.535 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.7537, allocations: 7.938 kB / 0.9179 GB, free: 5.527 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006687/0.7543, allocations: 155.8 kB / 0.918 GB, free: 5.375 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.7544, allocations: 7.984 kB / 0.918 GB, free: 5.367 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006471/0.755, allocations: 63.52 kB / 0.9181 GB, free: 5.305 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.434e-05/0.7551, allocations: 27.69 kB / 0.9181 GB, free: 5.281 MB / 0.6856 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.0004378/0.7555, allocations: 333.5 kB / 0.9184 GB, free: 4.945 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.7556, allocations: 83.48 kB / 0.9185 GB, free: 4.863 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/0.7559, allocations: 115.8 kB / 0.9186 GB, free: 4.746 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.7559, allocations: 7.938 kB / 0.9186 GB, free: 4.738 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.7559, allocations: 4 kB / 0.9186 GB, free: 4.734 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001371/0.7572, allocations: 1.085 MB / 0.9197 GB, free: 3.562 MB / 0.6856 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.00322/0.7605, allocations: 2.314 MB / 0.922 GB, free: 1.152 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.7605, allocations: 0 / 0.922 GB, free: 1.152 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008044/0.7613, allocations: 175.8 kB / 0.9221 GB, free: 0.9805 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.7613, allocations: 4 kB / 0.9221 GB, free: 0.9766 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-05/0.7613, allocations: 19.98 kB / 0.9222 GB, free: 0.957 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.7613, allocations: 4 kB / 0.9222 GB, free: 0.9531 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.7613, allocations: 0 / 0.9222 GB, free: 0.9531 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001937/0.7633, allocations: 1.352 MB / 0.9235 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000361/0.7636, allocations: 260.5 kB / 0.9237 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.7638, allocations: 15.98 kB / 0.9237 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005771/0.7643, allocations: 23.98 kB / 0.9238 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.149e-05/0.7644, allocations: 44.53 kB / 0.9238 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.709e-05/0.7645, allocations: 27.98 kB / 0.9238 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004741/0.765, allocations: 411.1 kB / 0.9242 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7e-08/0.765, allocations: 0 / 0.9242 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008292/0.7658, allocations: 375.3 kB / 0.9246 GB, free: 14.43 MB / 0.7012 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.0002663/0.766, allocations: 180.3 kB / 0.9248 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00119/0.7672, allocations: 0.7667 MB / 0.9255 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/0.7672, allocations: 3.938 kB / 0.9255 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005817/0.7678, allocations: 407.6 kB / 0.9259 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002465/0.7703, allocations: 0.5951 MB / 0.9265 GB, free: 12.51 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003378/0.7737, allocations: 2.276 MB / 0.9287 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008244/0.7745, allocations: 1.139 MB / 0.9298 GB, free: 9.027 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002875/0.7748, allocations: 79.44 kB / 0.9299 GB, free: 8.953 MB / 0.7012 GB Notification: Performance of SimCode: time 4.41e-07/0.7748, allocations: 0 / 0.9299 GB, free: 8.953 MB / 0.7012 GB Notification: Performance of Templates: time 0.02223/0.797, allocations: 16 MB / 0.9455 GB, free: 9.062 MB / 0.7169 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)