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.001331/0.001331, 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.00184/0.00184, allocations: 194.8 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.42/1.42, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3842/0.3842, allocations: 54.93 MB / 324.3 MB, free: 164 kB / 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.001389/0.001389, allocations: 67.91 kB / 394.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1205, allocations: 59.59 MB / 454.2 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Airflow.Multizone.Examples.ZonalFlow): time 0.3637/0.4843, allocations: 189.6 MB / 0.6287 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008776/0.4931, allocations: 5.7 MB / 0.6343 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.4944, allocations: 31.88 kB / 0.6343 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001599/0.496, allocations: 0.5132 MB / 0.6348 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004711/0.5007, allocations: 2.001 MB / 0.6368 GB, free: 2 MB / 0.4981 GB [/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.001609/0.5024, allocations: 0.6616 MB / 0.6374 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.2713/0.7737, allocations: 3.75 MB / 0.6411 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009095/0.7746, allocations: 0.6501 MB / 0.6417 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001373/0.776, allocations: 0.794 MB / 0.6425 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001486/0.7775, allocations: 0.8513 MB / 0.6433 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.7776, allocations: 46.25 kB / 0.6434 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003297/0.7809, allocations: 2.136 MB / 0.6455 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003623/0.7813, allocations: 362.1 kB / 0.6458 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006112/0.7819, allocations: 0.5132 MB / 0.6463 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002656/0.7846, allocations: 2.195 MB / 0.6485 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.7846, allocations: 0 / 0.6485 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.31e-07/0.7846, allocations: 0 / 0.6485 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.33e-05/0.7846, allocations: 0 / 0.6485 GB, free: 3.359 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.002929/0.7876, allocations: 1.429 MB / 0.6499 GB, free: 18.65 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.7876, allocations: 9.938 kB / 0.6499 GB, free: 18.65 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002212/0.7898, allocations: 309.5 kB / 0.6502 GB, free: 18.6 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009786/0.7908, allocations: 0.7112 MB / 0.6509 GB, free: 18.3 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.523e-05/0.7909, allocations: 58 kB / 0.6509 GB, free: 18.3 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.791, allocations: 73.94 kB / 0.651 GB, free: 18.3 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.7922, allocations: 0.8068 MB / 0.6518 GB, free: 18.24 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.7922, allocations: 4.5 kB / 0.6518 GB, free: 18.24 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.433e-05/0.7923, allocations: 27.66 kB / 0.6518 GB, free: 18.24 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.732e-05/0.7923, allocations: 44.44 kB / 0.6518 GB, free: 18.24 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.7935, allocations: 0.7947 MB / 0.6526 GB, free: 18.23 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.004373/0.7979, allocations: 3.628 MB / 0.6562 GB, free: 16.37 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008753/0.7988, allocations: 0.7115 MB / 0.6569 GB, free: 16.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005214/0.7993, allocations: 350.7 kB / 0.6572 GB, free: 16.15 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.68e-05/0.7993, allocations: 12.62 kB / 0.6572 GB, free: 16.15 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005646/0.7999, allocations: 372 kB / 0.6576 GB, free: 16.09 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=58): time 2.023e-06/0.7999, allocations: 0 / 0.6576 GB, free: 16.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=58): time 0.001444/0.8014, allocations: 0.8159 MB / 0.6584 GB, free: 16.01 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.8014, allocations: 58.16 kB / 0.6584 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005752/0.802, allocations: 0.498 MB / 0.6589 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.822e-05/0.8021, allocations: 41.52 kB / 0.6589 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002186/0.8023, allocations: 361.4 kB / 0.6593 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/0.8025, allocations: 206.3 kB / 0.6595 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.8027, allocations: 110.3 kB / 0.6596 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.8028, allocations: 371.4 kB / 0.6599 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003469/0.8032, allocations: 228.9 kB / 0.6602 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004355/0.8036, allocations: 329 kB / 0.6605 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007903/0.8044, allocations: 0.5917 MB / 0.661 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.8044, allocations: 1.094 kB / 0.6611 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001011/0.8054, allocations: 0.6742 MB / 0.6617 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.8055, allocations: 6.453 kB / 0.6617 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.8055, allocations: 4.375 kB / 0.6617 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.8055, allocations: 4.438 kB / 0.6617 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005452/0.8061, allocations: 123.1 kB / 0.6618 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.8061, allocations: 12.09 kB / 0.6619 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007913/0.8069, allocations: 91.09 kB / 0.6619 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.075e-05/0.8069, allocations: 19.59 kB / 0.662 GB, free: 14.83 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003788/0.8073, allocations: 267.9 kB / 0.6622 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.8074, allocations: 72.75 kB / 0.6623 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/0.8076, allocations: 83 kB / 0.6624 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.8076, allocations: 7.562 kB / 0.6624 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.8076, allocations: 6.828 kB / 0.6624 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008484/0.8085, allocations: 0.7023 MB / 0.6631 GB, free: 14.41 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 postOpt removeSimpleEquations (simulation): time 0.002747/0.8112, allocations: 1.749 MB / 0.6648 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.8113, allocations: 5.906 kB / 0.6648 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007227/0.812, allocations: 147.6 kB / 0.6649 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.812, allocations: 3.547 kB / 0.6649 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.325e-05/0.8121, allocations: 19.92 kB / 0.6649 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.8121, allocations: 2.281 kB / 0.6649 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.8121, allocations: 3.281 kB / 0.6649 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001478/0.8136, allocations: 1.072 MB / 0.666 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003707/0.8139, allocations: 222.7 kB / 0.6662 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.814, allocations: 16.38 kB / 0.6662 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006933/0.8147, allocations: 63 kB / 0.6663 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.948e-05/0.8148, allocations: 32.88 kB / 0.6663 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-05/0.8149, allocations: 24.73 kB / 0.6663 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004617/0.8154, allocations: 354.6 kB / 0.6667 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8154, allocations: 0 / 0.6667 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007882/0.8162, allocations: 284.6 kB / 0.6669 GB, free: 13.48 MB / 0.5137 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 (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.0002264/0.8164, allocations: 160.3 kB / 0.6671 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008838/0.8173, allocations: 0.5641 MB / 0.6676 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.8173, allocations: 4.125 kB / 0.6677 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004011/0.8177, allocations: 299.4 kB / 0.6679 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002052/0.8198, allocations: 465 kB / 0.6684 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002943/0.8227, allocations: 2.065 MB / 0.6704 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007927/0.8235, allocations: 1.024 MB / 0.6714 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008236/0.8244, allocations: 196.4 kB / 0.6716 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/0.8246, allocations: 60.41 kB / 0.6716 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of SimCode: time 3.41e-07/0.8246, allocations: 1.203 kB / 0.6716 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of Templates: time 0.02239/0.847, allocations: 14.69 MB / 0.686 GB, free: 8.359 MB / 0.5137 GB make -j1 -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ZonalFlow.makefile (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)