Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.009871/0.009871, allocations: 100.7 kB / 15.73 MB, free: 6.035 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.002474/0.002474, allocations: 191 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.1 MB / 222.5 MB, free: 4.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5738/0.5738, allocations: 95.47 MB / 365.4 MB, free: 9.781 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 72.47 kB / 0.5036 GB, free: 13.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1317, allocations: 69.09 MB / 0.5711 GB, free: 8.328 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.5144/0.6461, allocations: 214.7 MB / 0.7808 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005911/0.6521, allocations: 3.079 MB / 0.7838 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/0.6533, allocations: 23.88 kB / 0.7838 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001568/0.6549, allocations: 0.54 MB / 0.7843 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005877/0.6608, allocations: 2.298 MB / 0.7866 GB, free: 1.605 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Airflow/Multizone/ZonalFlow_ACS.mo:30:3-36: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.002212/0.6631, allocations: 0.8517 MB / 0.7874 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00368/0.6667, allocations: 2.321 MB / 0.7897 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001315/0.6681, allocations: 0.7484 MB / 0.7904 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003858/0.672, allocations: 1.323 MB / 0.7917 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002531/0.6745, allocations: 0.8089 MB / 0.7925 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003596/0.6749, allocations: 103.9 kB / 0.7926 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006599/0.6815, allocations: 2.164 MB / 0.7947 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008292/0.6823, allocations: 395 kB / 0.7951 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001388/0.6838, allocations: 0.5563 MB / 0.7956 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005424/0.6892, allocations: 2.463 MB / 0.798 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.6892, allocations: 0 / 0.798 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.012e-06/0.6892, allocations: 0 / 0.798 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.736e-05/0.6893, allocations: 0 / 0.798 GB, free: 5.863 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.004693/0.694, allocations: 1.453 MB / 0.7995 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.694, allocations: 11.98 kB / 0.7995 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007406/0.6948, allocations: 110.9 kB / 0.7996 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002644/0.6974, allocations: 0.8997 MB / 0.8004 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.006e-05/0.6975, allocations: 50.81 kB / 0.8005 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000199/0.6978, allocations: 76 kB / 0.8006 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002296/0.7001, allocations: 0.878 MB / 0.8014 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/0.7001, allocations: 0 / 0.8014 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.7002, allocations: 32 kB / 0.8015 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.784e-05/0.7003, allocations: 33.98 kB / 0.8015 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00218/0.7025, allocations: 0.8979 MB / 0.8024 GB, free: 1.32 MB / 0.6075 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.007341/0.7099, allocations: 3.894 MB / 0.8062 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.7111, allocations: 0.5789 MB / 0.8067 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009519/0.712, allocations: 422.3 kB / 0.8071 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009018/0.713, allocations: 0.7044 MB / 0.8078 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/0.714, allocations: 464.1 kB / 0.8083 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=68): time 3.336e-06/0.714, allocations: 4 kB / 0.8083 GB, free: 10.73 MB / 0.6231 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: rooA.dynBal.medium.T 2: rooA.dynBal.medium.p 3: rooB.dynBal.medium.T 4: rooB.dynBal.medium.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=70): time 0.01083/0.7248, allocations: 3.389 MB / 0.8116 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.7249, allocations: 59.97 kB / 0.8116 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007901/0.7257, allocations: 0.498 MB / 0.8121 GB, free: 6.668 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.372e-05/0.7258, allocations: 37.7 kB / 0.8122 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/0.7261, allocations: 340.4 kB / 0.8125 GB, free: 6.289 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002658/0.7264, allocations: 248.3 kB / 0.8127 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002744/0.7266, allocations: 122.3 kB / 0.8128 GB, free: 5.918 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002213/0.7269, allocations: 374.8 kB / 0.8132 GB, free: 5.543 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007477/0.7276, allocations: 301.2 kB / 0.8135 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007764/0.7284, allocations: 385.9 kB / 0.8138 GB, free: 4.848 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/0.73, allocations: 0.7086 MB / 0.8145 GB, free: 4.125 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.73, allocations: 0 / 0.8145 GB, free: 4.125 MB / 0.6231 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001968/0.732, allocations: 0.8323 MB / 0.8154 GB, free: 3.285 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.732, allocations: 4 kB / 0.8154 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.7321, allocations: 7.938 kB / 0.8154 GB, free: 3.273 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.7321, allocations: 4 kB / 0.8154 GB, free: 3.27 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009028/0.733, allocations: 151.7 kB / 0.8155 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.841e-05/0.733, allocations: 8 kB / 0.8155 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004966/0.7335, allocations: 15.98 kB / 0.8155 GB, free: 3.098 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.44e-05/0.7336, allocations: 31.94 kB / 0.8156 GB, free: 3.066 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (81): * Single equations (assignments): 81 * 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.0004573/0.7341, allocations: 273.8 kB / 0.8158 GB, free: 2.789 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.7343, allocations: 67.16 kB / 0.8159 GB, free: 2.723 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002455/0.7368, allocations: 0.9504 MB / 0.8168 GB, free: 1.758 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/0.7368, allocations: 8 kB / 0.8168 GB, free: 1.75 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.7368, allocations: 0 / 0.8168 GB, free: 1.75 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.7368, allocations: 3.984 kB / 0.8168 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004109/0.741, allocations: 2.114 MB / 0.8189 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.741, allocations: 4 kB / 0.8189 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009005/0.7419, allocations: 143.8 kB / 0.819 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001128/0.743, allocations: 169.5 kB / 0.8192 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.518e-05/0.7431, allocations: 28.02 kB / 0.8192 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/0.7443, allocations: 1.14 MB / 0.8203 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.7443, allocations: 0 / 0.8203 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002784/0.7471, allocations: 1.314 MB / 0.8216 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005435/0.7476, allocations: 248.2 kB / 0.8219 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.7478, allocations: 16 kB / 0.8219 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006032/0.7484, allocations: 19.98 kB / 0.8219 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.7485, allocations: 60.45 kB / 0.822 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.525e-05/0.7486, allocations: 31.98 kB / 0.822 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004209/0.7491, allocations: 358.8 kB / 0.8223 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7491, allocations: 0 / 0.8223 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001242/0.7503, allocations: 499.6 kB / 0.8228 GB, free: 11.43 MB / 0.6387 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 (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,1), (2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001223/0.7515, allocations: 0.5355 MB / 0.8233 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001274/0.7528, allocations: 0.7395 MB / 0.824 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.7529, allocations: 3.938 kB / 0.824 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007584/0.7536, allocations: 452 kB / 0.8245 GB, free: 9.703 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001979/0.7556, allocations: 0.4984 MB / 0.825 GB, free: 9.219 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00325/0.7589, allocations: 1.826 MB / 0.8268 GB, free: 7.355 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006793/0.7596, allocations: 1.018 MB / 0.8277 GB, free: 6.312 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007352/0.7603, allocations: 229.7 kB / 0.828 GB, free: 6.086 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/0.7606, allocations: 75.41 kB / 0.828 GB, free: 6.012 MB / 0.6387 GB Notification: Performance of SimCode: time 3.31e-07/0.7606, allocations: 0 / 0.828 GB, free: 6.012 MB / 0.6387 GB Notification: Performance of Templates: time 0.03501/0.7956, allocations: 23.01 MB / 0.8505 GB, free: 15.13 MB / 0.67 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)