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/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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/Annex60 1.0.0/package.mo): time 0.3286/0.3286, allocations: 55.01 MB / 69.96 MB, free: 8.648 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001564/0.001564, allocations: 187.5 kB / 83.98 MB, free: 10.83 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.947/1.947, allocations: 194.4 MB / 292.3 MB, free: 3.602 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002029/0.002029, allocations: 116.6 kB / 350.7 MB, free: 9.102 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004171/0.0004172, allocations: 12 kB / 418.9 MB, free: 37.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.156, allocations: 57.64 MB / 476.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.546/5.702, allocations: 2.134 GB / 2.599 GB, free: 148.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003478/5.703, allocations: 87.3 kB / 2.599 GB, free: 148.6 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.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 1.016/6.718, allocations: 368.1 MB / 2.959 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.783e-06/6.719, allocations: 0 / 2.959 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.847e-05/6.719, allocations: 23.94 kB / 2.959 GB, free: 14.84 MB / 0.4948 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.003797/6.722, allocations: 1.333 MB / 2.96 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/6.722, allocations: 8.031 kB / 2.96 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002185/6.725, allocations: 309.8 kB / 2.96 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/6.726, allocations: 0.7615 MB / 2.961 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.557e-05/6.726, allocations: 57.98 kB / 2.961 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/6.726, allocations: 72 kB / 2.961 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/6.728, allocations: 0.7687 MB / 2.962 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/6.728, allocations: 0 / 2.962 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.625e-05/6.728, allocations: 32.8 kB / 2.962 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.553e-05/6.728, allocations: 37.98 kB / 2.962 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/6.729, allocations: 0.7612 MB / 2.963 GB, free: 10.61 MB / 0.4948 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.004251/6.733, allocations: 3.603 MB / 2.966 GB, free: 6.668 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006073/6.734, allocations: 0.5198 MB / 2.967 GB, free: 6.141 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.832e-05/6.734, allocations: 12.55 kB / 2.967 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004925/6.734, allocations: 371 kB / 2.967 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=58): time 4.098e-06/6.734, allocations: 0 / 2.967 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of matching and sorting (n=58): time 0.001368/6.736, allocations: 0.8379 MB / 2.968 GB, free: 4.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/6.736, allocations: 55.97 kB / 2.968 GB, free: 4.844 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000431/6.736, allocations: 438.1 kB / 2.969 GB, free: 4.41 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.027e-05/6.736, allocations: 37.7 kB / 2.969 GB, free: 4.367 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/6.736, allocations: 359.9 kB / 2.969 GB, free: 4.008 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/6.737, allocations: 213 kB / 2.969 GB, free: 3.797 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.482e-05/6.737, allocations: 8 kB / 2.969 GB, free: 3.789 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001033/6.737, allocations: 366.8 kB / 2.969 GB, free: 3.422 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002897/6.737, allocations: 233 kB / 2.97 GB, free: 3.195 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003238/6.737, allocations: 340.3 kB / 2.97 GB, free: 2.824 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003548/6.738, allocations: 290.1 kB / 2.97 GB, free: 2.539 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/6.738, allocations: 4 kB / 2.97 GB, free: 2.535 MB / 0.4948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008061/6.739, allocations: 0.6855 MB / 2.971 GB, free: 1.848 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/6.739, allocations: 5.719 kB / 2.971 GB, free: 1.844 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/6.739, allocations: 4.281 kB / 2.971 GB, free: 1.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/6.739, allocations: 8 kB / 2.971 GB, free: 1.832 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004816/6.739, allocations: 123.8 kB / 2.971 GB, free: 1.711 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/6.739, allocations: 4 kB / 2.971 GB, free: 1.707 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000855/6.74, allocations: 87.47 kB / 2.971 GB, free: 1.621 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.905e-05/6.74, allocations: 23.94 kB / 2.971 GB, free: 1.598 MB / 0.4948 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 (70): * Single equations (assignments): 70 * 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.0004262/6.741, allocations: 281.5 kB / 2.971 GB, free: 1.312 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.888e-05/6.741, allocations: 67.25 kB / 2.972 GB, free: 1.246 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/6.741, allocations: 85.94 kB / 2.972 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/6.741, allocations: 8 kB / 2.972 GB, free: 1.152 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/6.741, allocations: 0 / 2.972 GB, free: 1.152 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007352/6.742, allocations: 0.7216 MB / 2.972 GB, free: 388 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3634/7.105, allocations: 1.536 MB / 2.974 GB, free: 81.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/7.105, allocations: 2.016 kB / 2.974 GB, free: 81.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007937/7.106, allocations: 143.1 kB / 2.974 GB, free: 81.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-05/7.106, allocations: 3.25 kB / 2.974 GB, free: 81.95 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-05/7.106, allocations: 14.97 kB / 2.974 GB, free: 81.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/7.106, allocations: 2.656 kB / 2.974 GB, free: 81.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/7.106, allocations: 1.031 kB / 2.974 GB, free: 81.95 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/7.108, allocations: 1.106 MB / 2.975 GB, free: 81.79 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000558/7.108, allocations: 222.8 kB / 2.975 GB, free: 81.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.798e-05/7.108, allocations: 15.66 kB / 2.975 GB, free: 81.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007541/7.109, allocations: 69.38 kB / 2.975 GB, free: 81.69 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/7.109, allocations: 41 kB / 2.975 GB, free: 81.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.588e-05/7.109, allocations: 23.08 kB / 2.975 GB, free: 81.69 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005221/7.11, allocations: 338.5 kB / 2.976 GB, free: 81.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.71e-07/7.11, allocations: 0 / 2.976 GB, free: 81.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001601/7.112, allocations: 389.3 kB / 2.976 GB, free: 81.59 MB / 0.4948 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.002231/7.114, allocations: 1.269 MB / 2.977 GB, free: 81.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00115/7.115, allocations: 0.5777 MB / 2.978 GB, free: 81.25 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/7.115, allocations: 0 / 2.978 GB, free: 81.25 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004507/7.115, allocations: 307.8 kB / 2.978 GB, free: 81.25 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002089/7.117, allocations: 443.2 kB / 2.979 GB, free: 81.25 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0033/7.121, allocations: 2.179 MB / 2.981 GB, free: 80.39 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005078/7.121, allocations: 1.041 MB / 2.982 GB, free: 79.69 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0008662/7.122, allocations: 202.5 kB / 2.982 GB, free: 79.68 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/7.122, allocations: 63.59 kB / 2.982 GB, free: 79.67 MB / 0.4948 GB Notification: Performance of SimCode: time 1.112e-06/7.122, allocations: 0 / 2.982 GB, free: 79.67 MB / 0.4948 GB Notification: Performance of Templates: time 0.04751/7.17, allocations: 29.69 MB / 3.011 GB, free: 78.72 MB / 0.4948 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)