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.001092/0.001092, 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.001107/0.001107, allocations: 192.8 kB / 16.14 MB, free: 6.715 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.321/1.321, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002021/0.002021, allocations: 290.6 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9528/0.9528, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 93.22 kB / 0.5945 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1855, allocations: 86.98 MB / 0.6794 GB, free: 1.176 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.5252/0.7107, allocations: 201.9 MB / 0.8766 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009775/0.7205, allocations: 6.441 MB / 0.8829 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001746/0.7223, allocations: 34.84 kB / 0.883 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001938/0.7243, allocations: 0.6408 MB / 0.8836 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006543/0.7309, allocations: 2.525 MB / 0.886 GB, free: 15.56 MB / 0.6075 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.00182/0.7327, allocations: 0.6329 MB / 0.8867 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004821/0.7375, allocations: 4.84 MB / 0.8914 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001527/0.7391, allocations: 0.9589 MB / 0.8923 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002384/0.7415, allocations: 1.074 MB / 0.8934 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002763/0.7443, allocations: 1.16 MB / 0.8945 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003589/0.7446, allocations: 72.62 kB / 0.8946 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005936/0.7506, allocations: 2.717 MB / 0.8972 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0009548/0.7516, allocations: 474.7 kB / 0.8977 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001974/0.7536, allocations: 0.6883 MB / 0.8984 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007733/0.7613, allocations: 2.883 MB / 0.9012 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.7614, allocations: 11.92 kB / 0.9012 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7614, allocations: 0 / 0.9012 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.02e-05/0.7615, allocations: 0 / 0.9012 GB, free: 4.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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.005912/0.7674, allocations: 1.762 MB / 0.9029 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.7674, allocations: 8.031 kB / 0.9029 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002648/0.7701, allocations: 350.2 kB / 0.9032 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001757/0.7719, allocations: 0.8504 MB / 0.9041 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.156e-05/0.772, allocations: 74.02 kB / 0.9041 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002546/0.7722, allocations: 103.9 kB / 0.9042 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002342/0.7746, allocations: 1.191 MB / 0.9054 GB, free: 416 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.853e-05/0.7746, allocations: 4 kB / 0.9054 GB, free: 412 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/0.7747, allocations: 43.98 kB / 0.9055 GB, free: 368 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.188e-05/0.7748, allocations: 66.06 kB / 0.9055 GB, free: 300 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002171/0.777, allocations: 1.242 MB / 0.9067 GB, free: 15.04 MB / 0.6231 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.007424/0.7844, allocations: 5.065 MB / 0.9117 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.7861, allocations: 1.158 MB / 0.9128 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007668/0.7868, allocations: 0.5012 MB / 0.9133 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 6.932e-05/0.7869, allocations: 20.78 kB / 0.9133 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008296/0.7878, allocations: 488.2 kB / 0.9138 GB, free: 7.266 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 3.045e-06/0.7878, allocations: 0 / 0.9138 GB, free: 7.266 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.002228/0.79, allocations: 1.153 MB / 0.9149 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/0.7901, allocations: 71.94 kB / 0.915 GB, free: 6.023 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008891/0.791, allocations: 0.5744 MB / 0.9155 GB, free: 5.438 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.088e-05/0.7911, allocations: 41.7 kB / 0.9156 GB, free: 5.391 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003322/0.7914, allocations: 459.6 kB / 0.916 GB, free: 4.934 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002781/0.7917, allocations: 272.1 kB / 0.9163 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/0.7919, allocations: 130.7 kB / 0.9164 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.7921, allocations: 382.8 kB / 0.9168 GB, free: 4.145 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005155/0.7926, allocations: 329.8 kB / 0.9171 GB, free: 3.824 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00058/0.7932, allocations: 448.8 kB / 0.9175 GB, free: 3.352 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.7944, allocations: 0.8311 MB / 0.9183 GB, free: 2.484 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.7944, allocations: 0 / 0.9183 GB, free: 2.484 MB / 0.6231 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001532/0.7959, allocations: 0.9296 MB / 0.9192 GB, free: 1.547 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.796, allocations: 8 kB / 0.9192 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.796, allocations: 0 / 0.9192 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.039e-05/0.796, allocations: 8.344 kB / 0.9192 GB, free: 1.531 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006901/0.7967, allocations: 163.8 kB / 0.9194 GB, free: 1.371 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-05/0.7968, allocations: 7.938 kB / 0.9194 GB, free: 1.363 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.7979, allocations: 155.2 kB / 0.9196 GB, free: 1.211 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-05/0.7979, allocations: 32 kB / 0.9196 GB, free: 1.18 MB / 0.6231 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.0005144/0.7985, allocations: 328.1 kB / 0.9199 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001947/0.7987, allocations: 83.06 kB / 0.92 GB, free: 0.7695 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002596/0.7989, allocations: 103.8 kB / 0.9201 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.7989, allocations: 11.94 kB / 0.9201 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.799, allocations: 4 kB / 0.9201 GB, free: 0.6484 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001432/0.8004, allocations: 1.097 MB / 0.9212 GB, free: 15.46 MB / 0.6387 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.003776/0.8042, allocations: 2.316 MB / 0.9234 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.8042, allocations: 0 / 0.9234 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008462/0.8051, allocations: 179.8 kB / 0.9236 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.127e-05/0.8051, allocations: 0 / 0.9236 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.198e-05/0.8052, allocations: 16 kB / 0.9236 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.8052, allocations: 8.031 kB / 0.9236 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.8052, allocations: 0 / 0.9236 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/0.8071, allocations: 1.354 MB / 0.9249 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005104/0.8076, allocations: 248 kB / 0.9252 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.8077, allocations: 16 kB / 0.9252 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009212/0.8087, allocations: 103.1 kB / 0.9253 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.254e-05/0.8088, allocations: 44.59 kB / 0.9253 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.895e-05/0.8088, allocations: 31.98 kB / 0.9254 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005547/0.8094, allocations: 407.1 kB / 0.9258 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8094, allocations: 0 / 0.9258 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001025/0.8104, allocations: 371 kB / 0.9261 GB, free: 10.28 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 (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.0003073/0.8108, allocations: 192.8 kB / 0.9263 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001322/0.8121, allocations: 0.7941 MB / 0.9271 GB, free: 9.285 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.8121, allocations: 0.6875 kB / 0.9271 GB, free: 9.285 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006048/0.8127, allocations: 431.5 kB / 0.9275 GB, free: 8.867 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002737/0.8155, allocations: 0.5603 MB / 0.928 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004117/0.8196, allocations: 2.623 MB / 0.9306 GB, free: 5.656 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/0.8207, allocations: 1.144 MB / 0.9317 GB, free: 4.488 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001231/0.8219, allocations: 276.2 kB / 0.932 GB, free: 4.215 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003056/0.8222, allocations: 75.44 kB / 0.932 GB, free: 4.141 MB / 0.6387 GB Notification: Performance of SimCode: time 8.22e-07/0.8222, allocations: 0 / 0.932 GB, free: 4.141 MB / 0.6387 GB Notification: Performance of Templates: time 0.03089/0.8531, allocations: 18.25 MB / 0.9499 GB, free: 2.133 MB / 0.6544 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)