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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(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.001397/0.001397, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001575/0.001575, allocations: 192.8 kB / 16.13 MB, free: 6.668 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.408/1.408, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.809/2.809, allocations: 472.6 MB / 0.7447 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 64.95 kB / 0.9113 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3184, allocations: 159.9 MB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.7751/1.093, allocations: 201.9 MB / 1.265 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008767/1.102, allocations: 6.466 MB / 1.271 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/1.104, allocations: 32.69 kB / 1.271 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001789/1.106, allocations: 0.6408 MB / 1.272 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006446/1.112, allocations: 2.519 MB / 1.274 GB, free: 5.191 MB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001939/1.114, allocations: 0.6414 MB / 1.275 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006493/1.12, allocations: 4.825 MB / 1.279 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001808/1.122, allocations: 0.9716 MB / 1.28 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003191/1.126, allocations: 1.077 MB / 1.281 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00305/1.129, allocations: 1.149 MB / 1.283 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002782/1.129, allocations: 72.36 kB / 1.283 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006382/1.135, allocations: 2.723 MB / 1.285 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001073/1.136, allocations: 471.8 kB / 1.286 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001658/1.138, allocations: 0.6802 MB / 1.286 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005968/1.144, allocations: 2.896 MB / 1.289 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/1.144, allocations: 0.6094 kB / 1.289 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.62e-07/1.144, allocations: 0 / 1.289 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.915e-05/1.144, allocations: 1.375 kB / 1.289 GB, free: 4.844 MB / 0.9981 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.004547/1.149, allocations: 1.767 MB / 1.291 GB, free: 20.01 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/1.149, allocations: 10.47 kB / 1.291 GB, free: 20.01 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002362/1.151, allocations: 350.4 kB / 1.291 GB, free: 19.94 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001691/1.153, allocations: 0.8362 MB / 1.292 GB, free: 19.62 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.805e-05/1.153, allocations: 77.69 kB / 1.292 GB, free: 19.61 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001838/1.153, allocations: 100.3 kB / 1.292 GB, free: 19.61 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/1.155, allocations: 1.191 MB / 1.293 GB, free: 19.53 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/1.155, allocations: 0 / 1.293 GB, free: 19.53 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/1.156, allocations: 44.64 kB / 1.294 GB, free: 19.53 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.472e-05/1.156, allocations: 58.22 kB / 1.294 GB, free: 19.53 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001917/1.158, allocations: 1.259 MB / 1.295 GB, free: 19.5 MB / 1.014 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.006365/1.164, allocations: 5.076 MB / 1.3 GB, free: 16.97 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/1.165, allocations: 1.148 MB / 1.301 GB, free: 16.57 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000672/1.166, allocations: 0.5082 MB / 1.301 GB, free: 16.55 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.742e-05/1.166, allocations: 13.17 kB / 1.301 GB, free: 16.55 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006982/1.167, allocations: 490.1 kB / 1.302 GB, free: 16.49 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 3.587e-06/1.167, allocations: 3.984 kB / 1.302 GB, free: 16.49 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.002005/1.169, allocations: 1.153 MB / 1.303 GB, free: 16.4 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/1.169, allocations: 63.12 kB / 1.303 GB, free: 16.34 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000703/1.17, allocations: 0.5786 MB / 1.304 GB, free: 16.21 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.949e-05/1.17, allocations: 39.48 kB / 1.304 GB, free: 16.18 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/1.17, allocations: 464.3 kB / 1.304 GB, free: 15.95 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/1.17, allocations: 263.8 kB / 1.304 GB, free: 15.78 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/1.17, allocations: 133.4 kB / 1.304 GB, free: 15.76 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001534/1.171, allocations: 386.2 kB / 1.305 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004558/1.171, allocations: 330.6 kB / 1.305 GB, free: 15.45 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005107/1.172, allocations: 449.6 kB / 1.306 GB, free: 15.34 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000975/1.172, allocations: 0.8273 MB / 1.306 GB, free: 15.23 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.173, allocations: 2.25 kB / 1.306 GB, free: 15.23 MB / 1.014 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001321/1.174, allocations: 0.9249 MB / 1.307 GB, free: 15.15 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/1.174, allocations: 10 kB / 1.307 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/1.174, allocations: 3.438 kB / 1.307 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.621e-05/1.174, allocations: 9.656 kB / 1.307 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006861/1.175, allocations: 156.4 kB / 1.307 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/1.175, allocations: 8.344 kB / 1.307 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/1.176, allocations: 164.4 kB / 1.308 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.095e-05/1.176, allocations: 22.81 kB / 1.308 GB, free: 15.09 MB / 1.014 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.0004725/1.176, allocations: 336.3 kB / 1.308 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/1.176, allocations: 84 kB / 1.308 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001936/1.177, allocations: 108.9 kB / 1.308 GB, free: 14.92 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/1.177, allocations: 7.969 kB / 1.308 GB, free: 14.92 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/1.177, allocations: 3.938 kB / 1.308 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00122/1.178, allocations: 1.089 MB / 1.309 GB, free: 14.46 MB / 1.014 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.00314/1.181, allocations: 2.309 MB / 1.312 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/1.181, allocations: 0 / 1.312 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008261/1.182, allocations: 173.2 kB / 1.312 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/1.182, allocations: 2.812 kB / 1.312 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.397e-05/1.182, allocations: 19.34 kB / 1.312 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/1.182, allocations: 4.625 kB / 1.312 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.182, allocations: 7.969 kB / 1.312 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/1.184, allocations: 1.352 MB / 1.313 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004382/1.184, allocations: 259.9 kB / 1.313 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/1.184, allocations: 14.12 kB / 1.313 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000789/1.185, allocations: 95.33 kB / 1.313 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.56e-05/1.185, allocations: 44.55 kB / 1.313 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.443e-05/1.185, allocations: 32.73 kB / 1.313 GB, free: 13.57 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004237/1.186, allocations: 414.8 kB / 1.314 GB, free: 13.48 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.31e-07/1.186, allocations: 0 / 1.314 GB, free: 13.48 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000919/1.187, allocations: 363.3 kB / 1.314 GB, free: 13.43 MB / 1.014 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.0003003/1.187, allocations: 183.1 kB / 1.314 GB, free: 13.33 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00106/1.188, allocations: 0.7968 MB / 1.315 GB, free: 13.32 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.188, allocations: 3.938 kB / 1.315 GB, free: 13.31 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004837/1.188, allocations: 430 kB / 1.316 GB, free: 13.31 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/1.191, allocations: 0.5666 MB / 1.316 GB, free: 13.26 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/1.194, allocations: 2.616 MB / 1.319 GB, free: 11.89 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006962/1.195, allocations: 1.141 MB / 1.32 GB, free: 11.18 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009747/1.196, allocations: 280.4 kB / 1.32 GB, free: 11.12 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/1.196, allocations: 77.98 kB / 1.32 GB, free: 11.11 MB / 1.014 GB Notification: Performance of SimCode: time 4.91e-07/1.196, allocations: 0 / 1.32 GB, free: 11.11 MB / 1.014 GB Notification: Performance of Templates: time 0.02759/1.223, allocations: 18.25 MB / 1.338 GB, free: 6.43 MB / 1.014 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)