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.001003/0.001003, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001049/0.001049, allocations: 195.2 kB / 16.25 MB, free: 6.625 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.285/1.285, allocations: 205.1 MB / 222.1 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3787/0.3787, allocations: 54.93 MB / 324.4 MB, free: 172 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.00135/0.00135, allocations: 67.91 kB / 394.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1186, allocations: 59.59 MB / 454.4 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Airflow.Multizone.Examples.ZonalFlow): time 0.3501/0.4687, allocations: 189.3 MB / 0.6287 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008055/0.4768, allocations: 5.619 MB / 0.6342 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009624/0.4778, allocations: 27.88 kB / 0.6342 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00145/0.4794, allocations: 0.5249 MB / 0.6347 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004753/0.4841, allocations: 1.997 MB / 0.6366 GB, free: 2.27 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.001579/0.4857, allocations: 0.6642 MB / 0.6373 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.2945/0.7802, allocations: 2.617 MB / 0.6398 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00126/0.7815, allocations: 0.7586 MB / 0.6406 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001766/0.7833, allocations: 0.9404 MB / 0.6415 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001548/0.7849, allocations: 0.8664 MB / 0.6423 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.785, allocations: 94.94 kB / 0.6424 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003295/0.7883, allocations: 1.937 MB / 0.6443 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004635/0.7888, allocations: 406.8 kB / 0.6447 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007007/0.7895, allocations: 0.5576 MB / 0.6453 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003337/0.7928, allocations: 2.237 MB / 0.6474 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.7929, allocations: 0.875 kB / 0.6474 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.924e-06/0.7929, allocations: 0 / 0.6474 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.61e-05/0.7929, allocations: 0 / 0.6474 GB, free: 3.559 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.003236/0.7961, allocations: 1.43 MB / 0.6488 GB, free: 18.84 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.7962, allocations: 10.75 kB / 0.6489 GB, free: 18.84 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002091/0.7983, allocations: 311.5 kB / 0.6492 GB, free: 18.79 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.7994, allocations: 0.7088 MB / 0.6498 GB, free: 18.49 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.212e-05/0.7994, allocations: 58.45 kB / 0.6499 GB, free: 18.49 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.7996, allocations: 73.11 kB / 0.65 GB, free: 18.49 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.8008, allocations: 0.804 MB / 0.6508 GB, free: 18.43 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.8009, allocations: 5.75 kB / 0.6508 GB, free: 18.43 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-05/0.8009, allocations: 33.8 kB / 0.6508 GB, free: 18.43 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.751e-05/0.801, allocations: 39.12 kB / 0.6508 GB, free: 18.43 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.8021, allocations: 0.7972 MB / 0.6516 GB, free: 18.42 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.004254/0.8064, allocations: 3.635 MB / 0.6552 GB, free: 16.56 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008642/0.8072, allocations: 0.7014 MB / 0.6558 GB, free: 16.35 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005078/0.8078, allocations: 352.3 kB / 0.6562 GB, free: 16.34 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.232e-05/0.8078, allocations: 10.45 kB / 0.6562 GB, free: 16.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005967/0.8084, allocations: 374.3 kB / 0.6565 GB, free: 16.29 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=58): time 2.575e-06/0.8084, allocations: 1.938 kB / 0.6565 GB, free: 16.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=58): time 0.001533/0.81, allocations: 0.8136 MB / 0.6573 GB, free: 16.21 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.81, allocations: 61.81 kB / 0.6574 GB, free: 16.14 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006261/0.8107, allocations: 0.4962 MB / 0.6579 GB, free: 16.02 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.843e-05/0.8107, allocations: 40.61 kB / 0.6579 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/0.811, allocations: 363 kB / 0.6583 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/0.8112, allocations: 204.8 kB / 0.6585 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/0.8113, allocations: 106.8 kB / 0.6586 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.8115, allocations: 369.6 kB / 0.6589 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003784/0.8119, allocations: 226.7 kB / 0.6591 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004405/0.8123, allocations: 335.4 kB / 0.6595 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000868/0.8132, allocations: 0.5863 MB / 0.66 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.8132, allocations: 0.75 kB / 0.66 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001205/0.8144, allocations: 0.6764 MB / 0.6607 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.8145, allocations: 7.312 kB / 0.6607 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.8145, allocations: 2.812 kB / 0.6607 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/0.8145, allocations: 5.188 kB / 0.6607 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005762/0.8151, allocations: 128.5 kB / 0.6608 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/0.8151, allocations: 9.094 kB / 0.6608 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008897/0.816, allocations: 88.77 kB / 0.6609 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.632e-05/0.8161, allocations: 22.25 kB / 0.6609 GB, free: 15.05 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.0005021/0.8166, allocations: 276.7 kB / 0.6612 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.8167, allocations: 66.06 kB / 0.6613 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001558/0.8169, allocations: 83.39 kB / 0.6613 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.994e-06/0.8169, allocations: 5.531 kB / 0.6614 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.602e-05/0.8169, allocations: 5.781 kB / 0.6614 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008621/0.8178, allocations: 0.7032 MB / 0.662 GB, free: 14.63 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.002468/0.8203, allocations: 1.751 MB / 0.6638 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.8203, allocations: 4.656 kB / 0.6638 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007002/0.821, allocations: 146.6 kB / 0.6639 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.821, allocations: 4.812 kB / 0.6639 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-05/0.8211, allocations: 14.69 kB / 0.6639 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.8211, allocations: 3.406 kB / 0.6639 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.8211, allocations: 0 / 0.6639 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.8227, allocations: 1.073 MB / 0.665 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003965/0.8231, allocations: 223.9 kB / 0.6652 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.915e-05/0.8232, allocations: 15.78 kB / 0.6652 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007336/0.8239, allocations: 63.17 kB / 0.6653 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.527e-05/0.824, allocations: 36.94 kB / 0.6653 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.445e-05/0.8241, allocations: 24.17 kB / 0.6653 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00047/0.8245, allocations: 354.8 kB / 0.6657 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8246, allocations: 1.469 kB / 0.6657 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001072/0.8256, allocations: 284.6 kB / 0.6659 GB, free: 13.71 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.0003283/0.826, allocations: 161.1 kB / 0.6661 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001365/0.8273, allocations: 0.6843 MB / 0.6668 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.8274, allocations: 2.281 kB / 0.6668 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004778/0.8278, allocations: 299.6 kB / 0.667 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002212/0.8301, allocations: 480.1 kB / 0.6675 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003219/0.8333, allocations: 2.067 MB / 0.6695 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008262/0.8341, allocations: 1.023 MB / 0.6705 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001038/0.8352, allocations: 195.3 kB / 0.6707 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.8354, allocations: 61.38 kB / 0.6708 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of SimCode: time 9.32e-07/0.8354, allocations: 0 / 0.6708 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of Templates: time 0.02623/0.8616, allocations: 15.29 MB / 0.6857 GB, free: 9.461 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)