Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(Annex60.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ZonalFlow") translateModel(Annex60.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001077/0.001077, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001347/0.001347, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.612/1.612, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3795/0.3795, allocations: 55.01 MB / 325.4 MB, free: 0.5469 MB / 254.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: Annex60 requested package Modelica of version 3.2.2. 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.0008211/0.0008212, allocations: 19.94 kB / 396.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3728, allocations: 60.71 MB / 457.4 MB, free: 38.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Airflow.Multizone.Examples.ZonalFlow): time 0.2213/0.5942, allocations: 174.5 MB / 0.6171 GB, free: 8.633 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008778/0.603, allocations: 5.285 MB / 0.6223 GB, free: 3.34 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00149/0.6046, allocations: 23.88 kB / 0.6223 GB, free: 3.316 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001774/0.6064, allocations: 397.7 kB / 0.6227 GB, free: 2.926 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005238/0.6116, allocations: 1.544 MB / 0.6242 GB, free: 1.375 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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.001965/0.6136, allocations: 0.5055 MB / 0.6247 GB, free: 0.875 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004595/0.6182, allocations: 3.163 MB / 0.6278 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/0.6194, allocations: 0.5629 MB / 0.6283 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002229/0.6216, allocations: 0.7859 MB / 0.6291 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001855/0.6235, allocations: 0.7862 MB / 0.6298 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001835/0.6237, allocations: 36 kB / 0.6299 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003625/0.6274, allocations: 0.8807 MB / 0.6307 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006906/0.6281, allocations: 342.9 kB / 0.6311 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004655/0.6286, allocations: 225.3 kB / 0.6313 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002178/0.6307, allocations: 1.399 MB / 0.6326 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.6308, allocations: 0 / 0.6326 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.235e-06/0.6308, allocations: 4 kB / 0.6326 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.6308, allocations: 0 / 0.6326 GB, free: 8.672 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 182 * Number of variables: 182 Notification: Performance of Generate backend data structure: time 0.003338/0.6341, allocations: 1.245 MB / 0.6339 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.6342, allocations: 8.031 kB / 0.6339 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002193/0.6364, allocations: 314.5 kB / 0.6342 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.6379, allocations: 0.6799 MB / 0.6348 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.685e-05/0.6379, allocations: 57.92 kB / 0.6349 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.6381, allocations: 79.94 kB / 0.635 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.6395, allocations: 0.7999 MB / 0.6357 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.6395, allocations: 3.984 kB / 0.6357 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.02e-05/0.6396, allocations: 32 kB / 0.6358 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.342e-05/0.6397, allocations: 37.98 kB / 0.6358 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.6411, allocations: 0.7924 MB / 0.6366 GB, free: 4.531 MB / 0.4981 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.00516/0.6462, allocations: 3.643 MB / 0.6401 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2614/0.9076, allocations: 0.6995 MB / 0.6408 GB, free: 160 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008208/0.9085, allocations: 355.2 kB / 0.6412 GB, free: 160 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.673e-05/0.9086, allocations: 9.891 kB / 0.6412 GB, free: 160 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006073/0.9092, allocations: 367.1 kB / 0.6415 GB, free: 160 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=58): time 2.826e-06/0.9092, allocations: 0 / 0.6415 GB, free: 160 MB / 0.4981 GB Notification: Performance of matching and sorting (n=58): time 0.001444/0.9107, allocations: 0.8135 MB / 0.6423 GB, free: 159.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.9107, allocations: 54.94 kB / 0.6424 GB, free: 159.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005319/0.9113, allocations: 497.9 kB / 0.6428 GB, free: 159.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.496e-05/0.9113, allocations: 39.98 kB / 0.6429 GB, free: 159.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000189/0.9115, allocations: 365.6 kB / 0.6432 GB, free: 159.6 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.9116, allocations: 206.9 kB / 0.6434 GB, free: 159.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.9117, allocations: 8.781 kB / 0.6434 GB, free: 159.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.9118, allocations: 376.6 kB / 0.6438 GB, free: 159.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002858/0.9121, allocations: 222.1 kB / 0.644 GB, free: 159.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003363/0.9124, allocations: 332.6 kB / 0.6443 GB, free: 159.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.9128, allocations: 279.9 kB / 0.6446 GB, free: 159.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.9128, allocations: 3.406 kB / 0.6446 GB, free: 159.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008215/0.9136, allocations: 0.6733 MB / 0.6453 GB, free: 159 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.9137, allocations: 6.844 kB / 0.6453 GB, free: 159 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.9137, allocations: 4.281 kB / 0.6453 GB, free: 159 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.9137, allocations: 6.5 kB / 0.6453 GB, free: 159 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004983/0.9142, allocations: 120.6 kB / 0.6454 GB, free: 159 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.9142, allocations: 7.531 kB / 0.6454 GB, free: 159 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006993/0.9149, allocations: 89.06 kB / 0.6455 GB, free: 158.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-05/0.915, allocations: 18.09 kB / 0.6455 GB, free: 158.9 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003799/0.9154, allocations: 276.2 kB / 0.6458 GB, free: 158.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.395e-05/0.9155, allocations: 64.72 kB / 0.6458 GB, free: 158.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001898/0.9157, allocations: 82.59 kB / 0.6459 GB, free: 158.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-06/0.9157, allocations: 7.969 kB / 0.6459 GB, free: 158.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-05/0.9157, allocations: 2.938 kB / 0.6459 GB, free: 158.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008495/0.9166, allocations: 0.7129 MB / 0.6466 GB, free: 158.5 MB / 0.4981 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.002308/0.9189, allocations: 1.749 MB / 0.6483 GB, free: 158 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.9189, allocations: 7.828 kB / 0.6483 GB, free: 158 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006263/0.9195, allocations: 141.7 kB / 0.6485 GB, free: 158 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.9195, allocations: 7.406 kB / 0.6485 GB, free: 158 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.226e-05/0.9196, allocations: 13.69 kB / 0.6485 GB, free: 158 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.9196, allocations: 3.281 kB / 0.6485 GB, free: 158 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.9196, allocations: 0.8125 kB / 0.6485 GB, free: 158 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.9209, allocations: 1.072 MB / 0.6495 GB, free: 157.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003504/0.9213, allocations: 218 kB / 0.6497 GB, free: 157.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.528e-05/0.9213, allocations: 14.84 kB / 0.6498 GB, free: 157.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006646/0.922, allocations: 69.5 kB / 0.6498 GB, free: 157.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.889e-05/0.9221, allocations: 38.58 kB / 0.6499 GB, free: 157.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.581e-05/0.9222, allocations: 21.34 kB / 0.6499 GB, free: 157.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004048/0.9226, allocations: 347.5 kB / 0.6502 GB, free: 157.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.11e-07/0.9226, allocations: 0 / 0.6502 GB, free: 157.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008959/0.9235, allocations: 292.5 kB / 0.6505 GB, free: 157.4 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * 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 (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002712/0.9238, allocations: 153.5 kB / 0.6506 GB, free: 157.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007306/0.9245, allocations: 0.5595 MB / 0.6512 GB, free: 157.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.9245, allocations: 0 / 0.6512 GB, free: 157.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003156/0.9248, allocations: 298.3 kB / 0.6515 GB, free: 157 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/0.9267, allocations: 467.9 kB / 0.6519 GB, free: 156.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/0.9293, allocations: 2.159 MB / 0.654 GB, free: 155.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004783/0.9298, allocations: 1.022 MB / 0.655 GB, free: 155 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007987/0.9306, allocations: 191.7 kB / 0.6552 GB, free: 154.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.9308, allocations: 62.69 kB / 0.6553 GB, free: 154.9 MB / 0.4981 GB Notification: Performance of SimCode: time 4.41e-07/0.9308, allocations: 0 / 0.6553 GB, free: 154.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.0261/0.9569, allocations: 14.15 MB / 0.6691 GB, free: 154 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ZonalFlow.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ZonalFlow.sim & ./Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) Environment - environmentSimulation: