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.001068/0.001068, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001185/0.001185, allocations: 188.5 kB / 16.14 MB, free: 6.703 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.369/1.369, allocations: 205.1 MB / 222 MB, free: 4.75 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.5537/0.5537, allocations: 95.47 MB / 364.8 MB, free: 10.11 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.001293/0.001294, allocations: 59.92 kB / 444.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3113, allocations: 69.07 MB / 0.5017 GB, free: 17.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.5539/0.8652, allocations: 213.6 MB / 0.7103 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007841/0.8731, allocations: 3.227 MB / 0.7135 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00213/0.8753, allocations: 33.12 kB / 0.7135 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00194/0.8773, allocations: 483.4 kB / 0.714 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006952/0.8843, allocations: 2.086 MB / 0.716 GB, free: 2.758 MB / 0.4981 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.00275/0.8871, allocations: 0.7914 MB / 0.7168 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005161/0.8923, allocations: 3.421 MB / 0.7201 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.8934, allocations: 0.63 MB / 0.7207 GB, free: 164 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003765/0.8972, allocations: 1.155 MB / 0.7219 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00228/0.8995, allocations: 0.8296 MB / 0.7227 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.8996, allocations: 47.84 kB / 0.7227 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006176/0.9058, allocations: 2.456 MB / 0.7251 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000564/0.9064, allocations: 351.1 kB / 0.7254 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008743/0.9073, allocations: 0.495 MB / 0.7259 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005535/0.9128, allocations: 2.533 MB / 0.7284 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.9129, allocations: 0 / 0.7284 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.052e-06/0.9129, allocations: 0 / 0.7284 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.09e-05/0.9129, allocations: 0 / 0.7284 GB, free: 10.27 MB / 0.5137 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.003443/0.9163, allocations: 1.454 MB / 0.7298 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.9164, allocations: 11.98 kB / 0.7298 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003901/0.9168, allocations: 110.9 kB / 0.7299 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/0.9184, allocations: 0.8698 MB / 0.7308 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.759e-05/0.9185, allocations: 60.75 kB / 0.7308 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.9186, allocations: 64 kB / 0.7309 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.9201, allocations: 0.8768 MB / 0.7318 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.9202, allocations: 0 / 0.7318 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.816e-05/0.9203, allocations: 32 kB / 0.7318 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-05/0.9203, allocations: 33.98 kB / 0.7318 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.9218, allocations: 0.9017 MB / 0.7327 GB, free: 5.797 MB / 0.5137 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.005187/0.927, allocations: 3.871 MB / 0.7365 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000909/0.9279, allocations: 0.575 MB / 0.737 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006124/0.9285, allocations: 422.3 kB / 0.7374 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008618/0.9294, allocations: 0.699 MB / 0.7381 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009358/0.9303, allocations: 470.9 kB / 0.7386 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=68): time 2.936e-06/0.9303, allocations: 0 / 0.7386 GB, free: 15.29 MB / 0.5294 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.008512/0.9389, allocations: 3.388 MB / 0.7419 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.85e-05/0.939, allocations: 63.97 kB / 0.7419 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000688/0.9397, allocations: 0.4981 MB / 0.7424 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.803e-05/0.9397, allocations: 37.7 kB / 0.7425 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002841/0.94, allocations: 336.4 kB / 0.7428 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002104/0.9402, allocations: 245.5 kB / 0.743 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002069/0.9405, allocations: 122.3 kB / 0.7431 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.9406, allocations: 378.7 kB / 0.7435 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004801/0.9411, allocations: 305.2 kB / 0.7438 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006669/0.9418, allocations: 377.9 kB / 0.7442 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.9431, allocations: 0.7203 MB / 0.7449 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.9431, allocations: 0 / 0.7449 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001566/0.9447, allocations: 0.8322 MB / 0.7457 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.9447, allocations: 6.031 kB / 0.7457 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.9447, allocations: 3.938 kB / 0.7457 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.9447, allocations: 4 kB / 0.7457 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006524/0.9454, allocations: 148 kB / 0.7458 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.9454, allocations: 4 kB / 0.7458 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006032/0.946, allocations: 87.83 kB / 0.7459 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.744e-05/0.9461, allocations: 31.98 kB / 0.7459 GB, free: 7.559 MB / 0.5294 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.0004125/0.9465, allocations: 270.3 kB / 0.7462 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.9467, allocations: 63.25 kB / 0.7463 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002027/0.9487, allocations: 0.9543 MB / 0.7472 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.9487, allocations: 8 kB / 0.7472 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.9487, allocations: 0 / 0.7472 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.9487, allocations: 3.984 kB / 0.7472 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003517/0.9523, allocations: 2.12 MB / 0.7493 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.9523, allocations: 4 kB / 0.7493 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007374/0.953, allocations: 139.8 kB / 0.7494 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008927/0.9539, allocations: 173.6 kB / 0.7496 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-05/0.954, allocations: 23.98 kB / 0.7496 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009514/0.9549, allocations: 1.148 MB / 0.7507 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.955, allocations: 0 / 0.7507 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.9569, allocations: 1.313 MB / 0.752 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004476/0.9574, allocations: 240.3 kB / 0.7522 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.9575, allocations: 24.05 kB / 0.7523 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006467/0.9581, allocations: 71.78 kB / 0.7523 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.9583, allocations: 44.53 kB / 0.7524 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.639e-05/0.9584, allocations: 39.97 kB / 0.7524 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005379/0.9589, allocations: 358.8 kB / 0.7527 GB, free: 392 kB / 0.5294 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9589, allocations: 0 / 0.7527 GB, free: 392 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001676/0.9606, allocations: 499.7 kB / 0.7532 GB, free: 15.89 MB / 0.545 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.001295/0.9619, allocations: 0.5304 MB / 0.7537 GB, free: 15.38 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001307/0.9632, allocations: 0.7395 MB / 0.7545 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.9632, allocations: 320 / 0.7545 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000799/0.9641, allocations: 447.5 kB / 0.7549 GB, free: 14.21 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002028/0.9661, allocations: 479.1 kB / 0.7553 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003441/0.9695, allocations: 2.164 MB / 0.7575 GB, free: 11.55 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000589/0.9701, allocations: 1.018 MB / 0.7585 GB, free: 10.51 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007757/0.9709, allocations: 217.8 kB / 0.7587 GB, free: 10.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/0.9712, allocations: 71.42 kB / 0.7587 GB, free: 10.23 MB / 0.545 GB Notification: Performance of SimCode: time 7.62e-07/0.9712, allocations: 0 / 0.7587 GB, free: 10.23 MB / 0.545 GB Notification: Performance of Templates: time 0.03588/1.007, allocations: 22.07 MB / 0.7803 GB, free: 4.312 MB / 0.5606 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)