Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04015/0.04015, allocations: 9.13 MB / 28.99 MB, free: 0.8125 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008109/0.0008109, allocations: 87.28 kB / 35.33 MB, free: 1.074 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 166.7 kB / 38.73 MB, free: 2.508 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9156/0.9156, allocations: 177.2 MB / 219.2 MB, free: 10.12 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.004029/0.004029, allocations: 0.8324 MB / 276.5 MB, free: 0.7461 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.617/1.617, allocations: 274.9 MB / 0.5419 GB, free: 0.6133 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Airflow.Multizone.Examples.ZonalFlow") translateModel(AixLib.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Airflow.Multizone.Examples.ZonalFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.6378 GB, free: 14.16 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.439e-05/1.586e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.15 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Airflow.Multizone.Examples.ZonalFlow): time 0.4334/0.4334, allocations: 151.1 MB / 0.7854 GB, free: 4.148 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.006529/0.44, allocations: 3.819 MB / 0.7891 GB, free: 348 kB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.441, allocations: 47.62 kB / 0.7891 GB, free: 300 kB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.0007764/0.4417, allocations: 309.9 kB / 0.7894 GB, free: 15.99 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002498/0.4442, allocations: 1.395 MB / 0.7908 GB, free: 14.59 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/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.001034/0.4453, allocations: 0.5514 MB / 0.7913 GB, free: 14.04 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003611/0.4489, allocations: 3.303 MB / 0.7946 GB, free: 10.72 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001186/0.4501, allocations: 0.8454 MB / 0.7954 GB, free: 9.863 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002763/0.4528, allocations: 1.706 MB / 0.797 GB, free: 8.188 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001249/0.4541, allocations: 0.967 MB / 0.798 GB, free: 7.219 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001767/0.4543, allocations: 124 kB / 0.7981 GB, free: 7.098 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007042/0.455, allocations: 383.1 kB / 0.7985 GB, free: 6.723 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.00045/0.4554, allocations: 0.5688 MB / 0.799 GB, free: 6.152 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006149/0.456, allocations: 0.5302 MB / 0.7995 GB, free: 5.621 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001492/0.4575, allocations: 1.298 MB / 0.8008 GB, free: 4.32 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4575, allocations: 0 / 0.8008 GB, free: 4.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4575, allocations: 4 kB / 0.8008 GB, free: 4.316 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.699e-05/0.4575, allocations: 4 kB / 0.8008 GB, free: 4.312 MB / 0.698 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.002504/0.46, allocations: 1.537 MB / 0.8023 GB, free: 2.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.4601, allocations: 15.98 kB / 0.8023 GB, free: 2.734 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/0.4615, allocations: 423.7 kB / 0.8027 GB, free: 2.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009209/0.4624, allocations: 0.6161 MB / 0.8033 GB, free: 1.672 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.385e-05/0.4624, allocations: 74.02 kB / 0.8034 GB, free: 1.598 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.4626, allocations: 115.9 kB / 0.8035 GB, free: 1.484 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009206/0.4635, allocations: 0.8329 MB / 0.8043 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.4635, allocations: 0 / 0.8043 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.394e-05/0.4636, allocations: 48.69 kB / 0.8044 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.541e-05/0.4637, allocations: 62.06 kB / 0.8044 GB, free: 468 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005931/0.4643, allocations: 338.8 kB / 0.8048 GB, free: 108 kB / 0.698 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.003507/0.4678, allocations: 2.154 MB / 0.8069 GB, free: 13.92 MB / 0.7137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005909/0.4684, allocations: 405.8 kB / 0.8073 GB, free: 13.52 MB / 0.7137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002561/0.4686, allocations: 183.2 kB / 0.8074 GB, free: 13.34 MB / 0.7137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.259e-05/0.4687, allocations: 16.66 kB / 0.8074 GB, free: 13.32 MB / 0.7137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003925/0.469, allocations: 458.5 kB / 0.8079 GB, free: 12.82 MB / 0.7137 GB Notification: Performance of pre-optimization done (n=76): time 2.314e-06/0.4691, allocations: 0 / 0.8079 GB, free: 12.82 MB / 0.7137 GB Notification: Performance of matching and sorting (n=76): time 0.0007418/0.4698, allocations: 437.8 kB / 0.8083 GB, free: 12.39 MB / 0.7137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.4698, allocations: 60 kB / 0.8084 GB, free: 12.32 MB / 0.7137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00032/0.4701, allocations: 443.2 kB / 0.8088 GB, free: 11.87 MB / 0.7137 GB Notification: Performance of collectPreVariables (initialization): time 4.763e-05/0.4702, allocations: 41.7 kB / 0.8088 GB, free: 11.82 MB / 0.7137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.4704, allocations: 409.8 kB / 0.8092 GB, free: 11.41 MB / 0.7137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.4706, allocations: 281.5 kB / 0.8095 GB, free: 11.14 MB / 0.7137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.4707, allocations: 126.6 kB / 0.8096 GB, free: 11.01 MB / 0.7137 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.4708, allocations: 386.6 kB / 0.81 GB, free: 10.62 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.471, allocations: 84.8 kB / 0.81 GB, free: 10.54 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.4712, allocations: 192.8 kB / 0.8102 GB, free: 10.32 MB / 0.7137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004164/0.4716, allocations: 357.5 kB / 0.8106 GB, free: 9.926 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.4716, allocations: 0 / 0.8106 GB, free: 9.926 MB / 0.7137 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0005302/0.4721, allocations: 399.9 kB / 0.811 GB, free: 9.527 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.4722, allocations: 4 kB / 0.811 GB, free: 9.523 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.4722, allocations: 4 kB / 0.811 GB, free: 9.52 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.4722, allocations: 8.938 kB / 0.811 GB, free: 9.512 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004377/0.4726, allocations: 147.8 kB / 0.8111 GB, free: 9.367 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.4726, allocations: 12.98 kB / 0.8111 GB, free: 9.355 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003568/0.473, allocations: 57.19 kB / 0.8112 GB, free: 9.301 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.805e-05/0.473, allocations: 19.98 kB / 0.8112 GB, free: 9.281 MB / 0.7137 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001841/0.4732, allocations: 156.4 kB / 0.8113 GB, free: 9.117 MB / 0.7137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.4733, allocations: 75.92 kB / 0.8114 GB, free: 9.043 MB / 0.7137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/0.4734, allocations: 103.2 kB / 0.8115 GB, free: 8.941 MB / 0.7137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.4734, allocations: 8 kB / 0.8115 GB, free: 8.934 MB / 0.7137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4734, allocations: 3.938 kB / 0.8115 GB, free: 8.93 MB / 0.7137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004626/0.4739, allocations: 0.5776 MB / 0.8121 GB, free: 8.266 MB / 0.7137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.4752, allocations: 1.024 MB / 0.8131 GB, free: 7.207 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.4752, allocations: 0 / 0.8131 GB, free: 7.207 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005324/0.4758, allocations: 167.8 kB / 0.8133 GB, free: 7.043 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.4758, allocations: 7.938 kB / 0.8133 GB, free: 7.035 MB / 0.7137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.029e-05/0.4758, allocations: 19.98 kB / 0.8133 GB, free: 7.016 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.4758, allocations: 4.5 kB / 0.8133 GB, free: 7.012 MB / 0.7137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4758, allocations: 0 / 0.8133 GB, free: 7.012 MB / 0.7137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009334/0.4768, allocations: 0.5858 MB / 0.8139 GB, free: 6.406 MB / 0.7137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/0.477, allocations: 135.3 kB / 0.814 GB, free: 6.273 MB / 0.7137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.58e-05/0.477, allocations: 16.81 kB / 0.814 GB, free: 6.258 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003177/0.4774, allocations: 17.89 kB / 0.814 GB, free: 6.242 MB / 0.7137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.724e-05/0.4774, allocations: 40.56 kB / 0.8141 GB, free: 6.199 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.085e-05/0.4775, allocations: 23.98 kB / 0.8141 GB, free: 6.176 MB / 0.7137 GB Notification: Performance of sorting global known variables: time 0.0001739/0.4776, allocations: 196.4 kB / 0.8143 GB, free: 5.984 MB / 0.7137 GB Notification: Performance of sort global known variables: time 6e-08/0.4776, allocations: 0 / 0.8143 GB, free: 5.984 MB / 0.7137 GB Notification: Performance of remove unused functions: time 0.0006336/0.4783, allocations: 375.2 kB / 0.8146 GB, free: 5.617 MB / 0.7137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * 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 (76): * Single equations (assignments): 76 * 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.0001667/0.4784, allocations: 108.9 kB / 0.8147 GB, free: 5.504 MB / 0.7137 GB Notification: Performance of simCode: created initialization part: time 0.0004418/0.4789, allocations: 332.2 kB / 0.815 GB, free: 5.18 MB / 0.7137 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/0.4789, allocations: 8 kB / 0.8151 GB, free: 5.172 MB / 0.7137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002174/0.4791, allocations: 189.8 kB / 0.8152 GB, free: 4.984 MB / 0.7137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/0.4806, allocations: 0.5657 MB / 0.8158 GB, free: 4.508 MB / 0.7137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.4828, allocations: 1.667 MB / 0.8174 GB, free: 2.809 MB / 0.7137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.483, allocations: 249.4 kB / 0.8177 GB, free: 2.543 MB / 0.7137 GB Notification: Performance of simCode: alias equations: time 0.0004875/0.4835, allocations: 143.9 kB / 0.8178 GB, free: 2.414 MB / 0.7137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008182/0.4843, allocations: 379 kB / 0.8182 GB, free: 2.035 MB / 0.7137 GB Notification: Performance of SimCode: time 6.31e-07/0.4843, allocations: 0 / 0.8182 GB, free: 2.035 MB / 0.7137 GB Notification: Performance of Templates: time 0.02439/0.5087, allocations: 19.36 MB / 0.8371 GB, free: 15.29 MB / 0.7449 GB " [Timeout remaining time 659] make -j1 -f AixLib_AixLib.Airflow.Multizone.Examples.ZonalFlow.makefile [Timeout 660] (rm -f AixLib_AixLib.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo AixLib_AixLib.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < AixLib_AixLib.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/AixLib_AixLib.Airflow.Multizone.Examples.ZonalFlow.sim & ./AixLib_AixLib.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.076966154854745]