Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow") translateModel(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001356/0.001356, allocations: 104.3 kB / 16.35 MB, free: 5.875 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.001546/0.001546, allocations: 191.8 kB / 17.29 MB, free: 5.516 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002118/0.002118, allocations: 285 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9317/0.9317, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 95.06 kB / 0.5966 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1461, allocations: 86.98 MB / 0.6816 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.4558/0.6019, allocations: 204.1 MB / 0.8809 GB, free: 2.254 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.009048/0.611, allocations: 6.367 MB / 0.8872 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007805/0.6118, allocations: 43.75 kB / 0.8872 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.6134, allocations: 0.7304 MB / 0.8879 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005997/0.6195, allocations: 2.681 MB / 0.8905 GB, free: 8.402 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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.002064/0.6216, allocations: 0.7106 MB / 0.8912 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003941/0.6255, allocations: 3.282 MB / 0.8944 GB, free: 4.41 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/0.6269, allocations: 1.131 MB / 0.8955 GB, free: 3.262 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001859/0.6287, allocations: 1.253 MB / 0.8968 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001697/0.6304, allocations: 1.091 MB / 0.8978 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001584/0.6306, allocations: 131.9 kB / 0.898 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003979/0.6346, allocations: 2.358 MB / 0.9003 GB, free: 14.43 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004893/0.6351, allocations: 0.526 MB / 0.9008 GB, free: 13.9 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007885/0.6359, allocations: 0.7391 MB / 0.9015 GB, free: 13.16 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003576/0.6395, allocations: 2.786 MB / 0.9042 GB, free: 10.36 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.6395, allocations: 0 / 0.9042 GB, free: 10.36 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.754e-06/0.6395, allocations: 0 / 0.9042 GB, free: 10.36 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.867e-05/0.6395, allocations: 0 / 0.9042 GB, free: 10.36 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.003839/0.6434, allocations: 1.769 MB / 0.9059 GB, free: 8.539 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.6434, allocations: 8.031 kB / 0.906 GB, free: 8.531 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002249/0.6457, allocations: 354.1 kB / 0.9063 GB, free: 8.184 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001564/0.6473, allocations: 0.8739 MB / 0.9071 GB, free: 7.27 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.995e-05/0.6473, allocations: 77.98 kB / 0.9072 GB, free: 7.191 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.6475, allocations: 104 kB / 0.9073 GB, free: 7.09 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/0.6493, allocations: 1.195 MB / 0.9085 GB, free: 5.863 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/0.6494, allocations: 0 / 0.9085 GB, free: 5.863 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/0.6495, allocations: 47.94 kB / 0.9085 GB, free: 5.816 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.851e-05/0.6495, allocations: 58.06 kB / 0.9086 GB, free: 5.758 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001872/0.6514, allocations: 1.249 MB / 0.9098 GB, free: 4.5 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.006364/0.6578, allocations: 5.101 MB / 0.9148 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/0.6593, allocations: 1.161 MB / 0.9159 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007054/0.66, allocations: 0.4973 MB / 0.9164 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 6.594e-05/0.6601, allocations: 16.64 kB / 0.9164 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000692/0.6608, allocations: 480.2 kB / 0.9169 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=76): time 2.345e-06/0.6608, allocations: 0 / 0.9169 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.001889/0.6627, allocations: 1.161 MB / 0.918 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.6628, allocations: 64 kB / 0.9181 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006358/0.6634, allocations: 0.5744 MB / 0.9186 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.993e-05/0.6635, allocations: 41.7 kB / 0.9187 GB, free: 10.83 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002982/0.6638, allocations: 467.8 kB / 0.9191 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000227/0.664, allocations: 272 kB / 0.9194 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/0.6642, allocations: 126.7 kB / 0.9195 GB, free: 9.965 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.6644, allocations: 382.8 kB / 0.9199 GB, free: 9.582 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004693/0.6649, allocations: 337.8 kB / 0.9202 GB, free: 9.254 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005535/0.6654, allocations: 444.7 kB / 0.9206 GB, free: 8.785 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.6665, allocations: 0.8233 MB / 0.9214 GB, free: 7.922 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.6665, allocations: 4 kB / 0.9214 GB, free: 7.918 MB / 0.6856 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001327/0.6679, allocations: 0.9257 MB / 0.9223 GB, free: 6.984 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.6679, allocations: 8.281 kB / 0.9223 GB, free: 6.977 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.6679, allocations: 8 kB / 0.9223 GB, free: 6.969 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.6679, allocations: 11.98 kB / 0.9224 GB, free: 6.957 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006676/0.6686, allocations: 160.8 kB / 0.9225 GB, free: 6.801 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.6686, allocations: 8 kB / 0.9225 GB, free: 6.793 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006438/0.6693, allocations: 55.28 kB / 0.9226 GB, free: 6.738 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.465e-05/0.6693, allocations: 31.98 kB / 0.9226 GB, free: 6.707 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.0004159/0.6698, allocations: 329.5 kB / 0.9229 GB, free: 6.375 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.6699, allocations: 83.06 kB / 0.923 GB, free: 6.293 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002027/0.6701, allocations: 111.8 kB / 0.9231 GB, free: 6.176 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.6701, allocations: 11.94 kB / 0.9231 GB, free: 6.164 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.6701, allocations: 0 / 0.9231 GB, free: 6.164 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001218/0.6713, allocations: 1.089 MB / 0.9242 GB, free: 4.992 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.003079/0.6744, allocations: 2.306 MB / 0.9264 GB, free: 2.594 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.6744, allocations: 0.875 kB / 0.9264 GB, free: 2.594 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008526/0.6753, allocations: 179.8 kB / 0.9266 GB, free: 2.418 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.6753, allocations: 4 kB / 0.9266 GB, free: 2.414 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.209e-05/0.6754, allocations: 20 kB / 0.9266 GB, free: 2.395 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.6754, allocations: 4 kB / 0.9266 GB, free: 2.391 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6754, allocations: 4 kB / 0.9266 GB, free: 2.387 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/0.6771, allocations: 1.351 MB / 0.9279 GB, free: 1.012 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004181/0.6776, allocations: 256 kB / 0.9282 GB, free: 0.7422 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.6777, allocations: 16 kB / 0.9282 GB, free: 0.7266 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006126/0.6783, allocations: 27.97 kB / 0.9282 GB, free: 0.6992 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.644e-05/0.6784, allocations: 40.59 kB / 0.9283 GB, free: 0.6602 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.417e-05/0.6785, allocations: 27.98 kB / 0.9283 GB, free: 0.6328 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004457/0.6789, allocations: 411.1 kB / 0.9287 GB, free: 244 kB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6789, allocations: 0 / 0.9287 GB, free: 244 kB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007908/0.6797, allocations: 367 kB / 0.929 GB, free: 15.88 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.0002451/0.68, allocations: 179 kB / 0.9292 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001116/0.6811, allocations: 0.8058 MB / 0.93 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6811, allocations: 0 / 0.93 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.000559/0.6817, allocations: 423.5 kB / 0.9304 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/0.684, allocations: 0.6031 MB / 0.931 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00297/0.687, allocations: 2.172 MB / 0.9331 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006692/0.6876, allocations: 1.14 MB / 0.9342 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007515/0.6884, allocations: 271.2 kB / 0.9345 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/0.6886, allocations: 71.42 kB / 0.9345 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of SimCode: time 2.41e-07/0.6886, allocations: 0 / 0.9345 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of Templates: time 0.02769/0.7163, allocations: 19.07 MB / 0.9532 GB, free: 7.383 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)