Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow") translateModel(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8445/0.8445, allocations: 130.7 MB / 138.7 MB, free: 3.543 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 221.5 MB / 391.8 MB, free: 14.18 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00094/0.0009399, allocations: 101.4 kB / 473.9 MB, free: 4.477 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.677e-05/1.676e-05, allocations: 0 / 0.5485 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5236/0.5236, allocations: 81.57 MB / 0.6282 GB, free: 42.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.67/6.194, allocations: 1.884 GB / 2.512 GB, free: 28.96 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/6.194, allocations: 82.45 kB / 2.512 GB, free: 28.92 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: The standard says that initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition useDefaultProperties and initial(). Notification: Performance of FrontEnd - DAE generated: time 2.768/8.963, allocations: 0.6059 GB / 3.118 GB, free: 114.1 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.295e-06/8.963, allocations: 3.391 kB / 3.118 GB, free: 114.1 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001329/8.963, allocations: 31.77 kB / 3.118 GB, free: 114.1 MB / 0.6667 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.006062/8.969, allocations: 1.534 MB / 3.12 GB, free: 113.5 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/8.969, allocations: 18.05 kB / 3.12 GB, free: 113.5 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002838/8.972, allocations: 341.2 kB / 3.12 GB, free: 113.4 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002378/8.974, allocations: 0.8542 MB / 3.121 GB, free: 113.2 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.505e-05/8.974, allocations: 34.66 kB / 3.121 GB, free: 113.2 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000395/8.975, allocations: 56.69 kB / 3.121 GB, free: 113.2 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002193/8.977, allocations: 0.9893 MB / 3.122 GB, free: 113.2 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002196/8.979, allocations: 0.9493 MB / 3.123 GB, free: 113.1 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.53e-05/8.979, allocations: 7.078 kB / 3.123 GB, free: 113.1 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001355/8.979, allocations: 6.969 kB / 3.123 GB, free: 113.1 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.92e-05/8.979, allocations: 65.89 kB / 3.123 GB, free: 113.1 MB / 0.6667 GB Warning: The model contains alias variables with conflicting start and/or 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.008032/8.987, allocations: 4.826 MB / 3.128 GB, free: 110.7 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002497/8.99, allocations: 3.397 MB / 3.131 GB, free: 107.7 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006287/8.991, allocations: 454.4 kB / 3.131 GB, free: 107.6 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 6.911e-05/8.991, allocations: 18.91 kB / 3.131 GB, free: 107.6 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000704/8.991, allocations: 397.8 kB / 3.132 GB, free: 107.6 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=76): time 3.497e-06/8.991, allocations: 3.938 kB / 3.132 GB, free: 107.6 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76): time 0.001456/8.993, allocations: 0.6913 MB / 3.133 GB, free: 107.5 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/8.993, allocations: 62.75 kB / 3.133 GB, free: 107.4 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007078/8.994, allocations: 417.3 kB / 3.133 GB, free: 107.3 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.309e-05/8.994, allocations: 29.14 kB / 3.133 GB, free: 107.3 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000332/8.994, allocations: 459.3 kB / 3.133 GB, free: 107.1 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002797/8.994, allocations: 261.5 kB / 3.134 GB, free: 107 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/8.994, allocations: 0 / 3.134 GB, free: 107 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001357/8.995, allocations: 383.1 kB / 3.134 GB, free: 106.7 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003484/8.995, allocations: 261.8 kB / 3.134 GB, free: 106.7 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004417/8.995, allocations: 378.6 kB / 3.135 GB, free: 106.5 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004684/8.996, allocations: 333.4 kB / 3.135 GB, free: 106.5 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.83e-06/8.996, allocations: 0 / 3.135 GB, free: 106.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001155/8.997, allocations: 0.7607 MB / 3.136 GB, free: 106.4 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/8.997, allocations: 12.77 kB / 3.136 GB, free: 106.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/8.997, allocations: 3.812 kB / 3.136 GB, free: 106.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/8.997, allocations: 5.578 kB / 3.136 GB, free: 106.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006072/8.998, allocations: 160.3 kB / 3.136 GB, free: 106.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.779e-05/8.998, allocations: 10.5 kB / 3.136 GB, free: 106.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/8.999, allocations: 113.3 kB / 3.136 GB, free: 106.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.712e-05/8.999, allocations: 28.84 kB / 3.136 GB, free: 106.4 MB / 0.6667 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001771/8.999, allocations: 120.6 kB / 3.136 GB, free: 106.3 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002227/8.999, allocations: 75.72 kB / 3.136 GB, free: 106.3 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002404/9, allocations: 91.97 kB / 3.136 GB, free: 106.2 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/9, allocations: 7.625 kB / 3.136 GB, free: 106.2 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-05/9, allocations: 3.219 kB / 3.136 GB, free: 106.2 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001047/9.001, allocations: 0.9383 MB / 3.137 GB, free: 105.8 MB / 0.6667 GB Warning: The model contains alias variables with conflicting start and/or 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.00368/9.004, allocations: 2.509 MB / 3.14 GB, free: 104.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/9.004, allocations: 0 / 3.14 GB, free: 104.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007749/9.005, allocations: 180.5 kB / 3.14 GB, free: 104.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.491e-05/9.005, allocations: 3.969 kB / 3.14 GB, free: 104.7 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.689e-05/9.005, allocations: 6.625 kB / 3.14 GB, free: 104.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/9.005, allocations: 0 / 3.14 GB, free: 104.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/9.005, allocations: 7.391 kB / 3.14 GB, free: 104.7 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/9.007, allocations: 1.244 MB / 3.141 GB, free: 104.5 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006468/9.008, allocations: 242.7 kB / 3.141 GB, free: 104.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/9.008, allocations: 6.812 kB / 3.141 GB, free: 104.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/9.009, allocations: 89.66 kB / 3.141 GB, free: 104.4 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.961e-05/9.009, allocations: 52.03 kB / 3.141 GB, free: 104.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.855e-05/9.009, allocations: 25.44 kB / 3.142 GB, free: 104.4 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004962/9.009, allocations: 325.6 kB / 3.142 GB, free: 104.3 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/9.01, allocations: 0 / 3.142 GB, free: 104.3 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00167/9.011, allocations: 458.6 kB / 3.142 GB, free: 104.2 MB / 0.6667 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 () * 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 (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.002852/9.014, allocations: 1.796 MB / 3.144 GB, free: 103.7 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001092/9.015, allocations: 0.6562 MB / 3.145 GB, free: 103.7 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/9.015, allocations: 0 / 3.145 GB, free: 103.7 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004076/9.016, allocations: 356.4 kB / 3.145 GB, free: 103.7 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002604/9.018, allocations: 495.9 kB / 3.145 GB, free: 103.7 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003456/9.022, allocations: 1.693 MB / 3.147 GB, free: 103.3 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008568/9.023, allocations: 1.157 MB / 3.148 GB, free: 102.6 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001141/9.024, allocations: 250.3 kB / 3.148 GB, free: 102.6 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002703/9.024, allocations: 78.62 kB / 3.149 GB, free: 102.6 MB / 0.6667 GB Notification: Performance of SimCode: time 1.112e-06/9.024, allocations: 0 / 3.149 GB, free: 102.6 MB / 0.6667 GB Notification: Performance of Templates: time 0.04053/9.065, allocations: 24.82 MB / 3.173 GB, free: 101 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)