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.001436/0.001435, allocations: 109.4 kB / 16.41 MB, free: 6.438 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.001583/0.001583, allocations: 189.6 kB / 17.34 MB, free: 5.742 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.17 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.8665/0.8665, allocations: 143.1 MB / 434.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 64.41 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1791, allocations: 82.04 MB / 0.6763 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.7289/0.9081, allocations: 204.3 MB / 0.8758 GB, free: 1.602 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01114/0.9192, allocations: 6.402 MB / 0.8821 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00196/0.9212, allocations: 35.81 kB / 0.8821 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002171/0.9234, allocations: 0.7304 MB / 0.8828 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007542/0.931, allocations: 2.672 MB / 0.8854 GB, free: 7.73 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.002293/0.9333, allocations: 0.7146 MB / 0.8861 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004897/0.9382, allocations: 3.274 MB / 0.8893 GB, free: 3.738 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001865/0.9401, allocations: 1.14 MB / 0.8904 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003212/0.9434, allocations: 1.265 MB / 0.8917 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002475/0.9458, allocations: 1.089 MB / 0.8927 GB, free: 228 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002368/0.9461, allocations: 128 kB / 0.8928 GB, free: 100 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005085/0.9512, allocations: 2.354 MB / 0.8951 GB, free: 13.74 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006786/0.9519, allocations: 0.5259 MB / 0.8957 GB, free: 13.21 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001163/0.9531, allocations: 0.7314 MB / 0.8964 GB, free: 12.48 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006587/0.9597, allocations: 2.891 MB / 0.8992 GB, free: 9.578 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.9597, allocations: 3.938 kB / 0.8992 GB, free: 9.574 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9597, allocations: 0 / 0.8992 GB, free: 9.574 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.304e-05/0.9598, allocations: 0 / 0.8992 GB, free: 9.574 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.004827/0.9646, allocations: 1.773 MB / 0.9009 GB, free: 7.746 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.9646, allocations: 8.031 kB / 0.9009 GB, free: 7.738 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002379/0.967, allocations: 350.2 kB / 0.9013 GB, free: 7.395 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.9687, allocations: 0.8739 MB / 0.9021 GB, free: 6.477 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.213e-05/0.9687, allocations: 81.95 kB / 0.9022 GB, free: 6.395 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002125/0.969, allocations: 104 kB / 0.9023 GB, free: 6.293 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/0.971, allocations: 1.194 MB / 0.9035 GB, free: 5.07 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.971, allocations: 3.938 kB / 0.9035 GB, free: 5.066 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.9711, allocations: 43.98 kB / 0.9035 GB, free: 5.023 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001466/0.9713, allocations: 62.06 kB / 0.9036 GB, free: 4.961 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001902/0.9732, allocations: 1.242 MB / 0.9048 GB, free: 3.711 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.006468/0.9797, allocations: 5.097 MB / 0.9098 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.9811, allocations: 1.166 MB / 0.9109 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007083/0.9819, allocations: 0.5011 MB / 0.9114 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 5.578e-05/0.9819, allocations: 20.8 kB / 0.9114 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007155/0.9826, allocations: 484.2 kB / 0.9119 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=76): time 2.836e-06/0.9827, allocations: 0 / 0.9119 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.001915/0.9846, allocations: 1.161 MB / 0.913 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.9846, allocations: 64.06 kB / 0.9131 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006855/0.9853, allocations: 0.5744 MB / 0.9136 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.575e-05/0.9854, allocations: 41.7 kB / 0.9137 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003126/0.9857, allocations: 459.6 kB / 0.9141 GB, free: 9.57 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002433/0.986, allocations: 272.1 kB / 0.9144 GB, free: 9.301 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/0.9862, allocations: 130.6 kB / 0.9145 GB, free: 9.168 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.9864, allocations: 382.8 kB / 0.9149 GB, free: 8.785 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004765/0.9868, allocations: 337.8 kB / 0.9152 GB, free: 8.453 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000534/0.9874, allocations: 444.8 kB / 0.9156 GB, free: 7.984 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.9885, allocations: 0.8271 MB / 0.9164 GB, free: 7.121 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.9885, allocations: 0 / 0.9164 GB, free: 7.121 MB / 0.6856 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001345/0.9899, allocations: 0.9219 MB / 0.9173 GB, free: 6.191 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.9899, allocations: 8 kB / 0.9173 GB, free: 6.184 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.9899, allocations: 4.344 kB / 0.9173 GB, free: 6.18 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.9899, allocations: 11.94 kB / 0.9173 GB, free: 6.168 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006868/0.9906, allocations: 159.8 kB / 0.9175 GB, free: 6.012 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.9906, allocations: 7.938 kB / 0.9175 GB, free: 6.004 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007417/0.9914, allocations: 63.28 kB / 0.9176 GB, free: 5.941 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.085e-05/0.9915, allocations: 24 kB / 0.9176 GB, free: 5.918 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.000502/0.992, allocations: 328 kB / 0.9179 GB, free: 5.59 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.9921, allocations: 79.06 kB / 0.918 GB, free: 5.512 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002495/0.9924, allocations: 119.7 kB / 0.9181 GB, free: 5.391 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.9924, allocations: 11.94 kB / 0.9181 GB, free: 5.379 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-05/0.9924, allocations: 0 / 0.9181 GB, free: 5.379 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001263/0.9937, allocations: 1.089 MB / 0.9192 GB, free: 4.203 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.003107/0.9968, allocations: 2.303 MB / 0.9214 GB, free: 1.805 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.9968, allocations: 0 / 0.9214 GB, free: 1.805 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008259/0.9976, allocations: 175.8 kB / 0.9216 GB, free: 1.633 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.9977, allocations: 7.938 kB / 0.9216 GB, free: 1.625 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.173e-05/0.9977, allocations: 20.8 kB / 0.9216 GB, free: 1.605 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.972e-06/0.9977, allocations: 4 kB / 0.9216 GB, free: 1.602 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.9977, allocations: 3.938 kB / 0.9216 GB, free: 1.598 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/0.9995, allocations: 1.351 MB / 0.9229 GB, free: 232 kB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003765/0.9999, allocations: 252 kB / 0.9232 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/1, allocations: 20.81 kB / 0.9232 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006286/1.001, allocations: 27.97 kB / 0.9232 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.742e-05/1.001, allocations: 40.59 kB / 0.9232 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.788e-05/1.001, allocations: 20 kB / 0.9233 GB, free: 15.85 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004682/1.001, allocations: 419 kB / 0.9237 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.31e-07/1.001, allocations: 0 / 0.9237 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008568/1.002, allocations: 367 kB / 0.924 GB, free: 15.09 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.0002878/1.002, allocations: 182.6 kB / 0.9242 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001155/1.004, allocations: 0.8058 MB / 0.925 GB, free: 14.1 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.004, allocations: 0 / 0.925 GB, free: 14.1 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005356/1.004, allocations: 427.5 kB / 0.9254 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002528/1.007, allocations: 0.5887 MB / 0.926 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003358/1.01, allocations: 2.251 MB / 0.9282 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007088/1.011, allocations: 1.143 MB / 0.9293 GB, free: 9.652 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003103/1.011, allocations: 75.42 kB / 0.9293 GB, free: 9.582 MB / 0.7012 GB Notification: Performance of SimCode: time 2.4e-07/1.011, allocations: 0 / 0.9293 GB, free: 9.582 MB / 0.7012 GB Notification: Performance of Templates: time 0.02361/1.035, allocations: 15.88 MB / 0.9449 GB, free: 9.809 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)