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.04913/0.04913, allocations: 9.129 MB / 28.99 MB, free: 0.8242 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.0007363/0.0007363, allocations: 91.03 kB / 35.33 MB, free: 1.082 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.001107/0.001107, allocations: 165.4 kB / 38.73 MB, free: 2.512 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 1.017/1.017, allocations: 177.1 MB / 219.2 MB, free: 10.11 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.004084/0.004084, allocations: 0.8297 MB / 276.5 MB, free: 0.7422 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.642/1.642, allocations: 274.9 MB / 0.5419 GB, free: 0.6289 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.543e-06/1.543e-06, allocations: 0 / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.479e-05, allocations: 6.312 kB / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Airflow.Multizone.Examples.ZonalFlow): time 0.4568/0.4569, allocations: 151.1 MB / 0.7854 GB, free: 4.09 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.005853/0.4627, allocations: 3.817 MB / 0.7892 GB, free: 288 kB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006969/0.4634, allocations: 47.62 kB / 0.7892 GB, free: 240 kB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.0006261/0.464, allocations: 313.9 kB / 0.7895 GB, free: 15.93 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00223/0.4663, allocations: 1.388 MB / 0.7909 GB, free: 14.53 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.00111/0.4674, allocations: 0.5519 MB / 0.7914 GB, free: 13.98 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002518/0.4699, allocations: 3.298 MB / 0.7946 GB, free: 10.67 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001172/0.4711, allocations: 0.8883 MB / 0.7955 GB, free: 9.789 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001788/0.4729, allocations: 1.701 MB / 0.7972 GB, free: 8.125 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/0.4739, allocations: 0.9707 MB / 0.7981 GB, free: 7.152 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.474, allocations: 128 kB / 0.7982 GB, free: 7.027 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000818/0.4748, allocations: 379.1 kB / 0.7986 GB, free: 6.656 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003629/0.4752, allocations: 0.5688 MB / 0.7991 GB, free: 6.086 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004186/0.4756, allocations: 0.5341 MB / 0.7997 GB, free: 5.551 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.4767, allocations: 1.301 MB / 0.8009 GB, free: 4.246 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.4767, allocations: 0 / 0.8009 GB, free: 4.246 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4767, allocations: 0 / 0.8009 GB, free: 4.246 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.368e-05/0.4767, allocations: 0 / 0.8009 GB, free: 4.246 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.00198/0.4787, allocations: 1.545 MB / 0.8024 GB, free: 2.676 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.4788, allocations: 11.98 kB / 0.8025 GB, free: 2.664 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/0.4798, allocations: 424.4 kB / 0.8029 GB, free: 2.25 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007235/0.4806, allocations: 0.6238 MB / 0.8035 GB, free: 1.594 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.405e-05/0.4806, allocations: 70.02 kB / 0.8035 GB, free: 1.523 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.4807, allocations: 107.9 kB / 0.8036 GB, free: 1.418 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007509/0.4815, allocations: 0.8423 MB / 0.8045 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.4815, allocations: 0 / 0.8045 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.035e-05/0.4816, allocations: 43.97 kB / 0.8045 GB, free: 460 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.947e-05/0.4816, allocations: 58.08 kB / 0.8046 GB, free: 400 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004565/0.4821, allocations: 347.3 kB / 0.8049 GB, free: 32 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.002641/0.4847, allocations: 2.149 MB / 0.807 GB, free: 13.85 MB / 0.7137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004559/0.4852, allocations: 410.7 kB / 0.8074 GB, free: 13.45 MB / 0.7137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.4854, allocations: 179.2 kB / 0.8076 GB, free: 13.27 MB / 0.7137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.987e-05/0.4854, allocations: 24.34 kB / 0.8076 GB, free: 13.25 MB / 0.7137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002997/0.4857, allocations: 457.9 kB / 0.808 GB, free: 12.74 MB / 0.7137 GB Notification: Performance of pre-optimization done (n=76): time 1.944e-06/0.4857, allocations: 0 / 0.808 GB, free: 12.74 MB / 0.7137 GB Notification: Performance of matching and sorting (n=76): time 0.0005638/0.4863, allocations: 429.8 kB / 0.8084 GB, free: 12.32 MB / 0.7137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.4863, allocations: 64 kB / 0.8085 GB, free: 12.24 MB / 0.7137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003235/0.4866, allocations: 451.2 kB / 0.8089 GB, free: 11.79 MB / 0.7137 GB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.4867, allocations: 37.7 kB / 0.809 GB, free: 11.75 MB / 0.7137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.4868, allocations: 405.8 kB / 0.8093 GB, free: 11.34 MB / 0.7137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.487, allocations: 285.5 kB / 0.8096 GB, free: 11.06 MB / 0.7137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.4871, allocations: 118.6 kB / 0.8097 GB, free: 10.94 MB / 0.7137 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.4872, allocations: 386.6 kB / 0.8101 GB, free: 10.55 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.4873, allocations: 92.78 kB / 0.8102 GB, free: 10.46 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.4875, allocations: 196.8 kB / 0.8104 GB, free: 10.23 MB / 0.7137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.4878, allocations: 352.7 kB / 0.8107 GB, free: 9.848 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4878, allocations: 0 / 0.8107 GB, free: 9.848 MB / 0.7137 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.000396/0.4882, allocations: 403.8 kB / 0.8111 GB, free: 9.445 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.4882, allocations: 4 kB / 0.8111 GB, free: 9.441 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.4882, allocations: 4.625 kB / 0.8111 GB, free: 9.438 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.4882, allocations: 4 kB / 0.8111 GB, free: 9.434 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/0.4886, allocations: 167.8 kB / 0.8113 GB, free: 9.27 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.4886, allocations: 7.938 kB / 0.8113 GB, free: 9.262 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.4889, allocations: 52.47 kB / 0.8113 GB, free: 9.211 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.4889, allocations: 24 kB / 0.8113 GB, free: 9.188 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.0001508/0.489, allocations: 160.4 kB / 0.8115 GB, free: 9.02 MB / 0.7137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-05/0.4891, allocations: 75.92 kB / 0.8116 GB, free: 8.945 MB / 0.7137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.906e-05/0.4892, allocations: 99.23 kB / 0.8117 GB, free: 8.848 MB / 0.7137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.4892, allocations: 8 kB / 0.8117 GB, free: 8.84 MB / 0.7137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/0.4892, allocations: 4.75 kB / 0.8117 GB, free: 8.836 MB / 0.7137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005609/0.4898, allocations: 0.5854 MB / 0.8122 GB, free: 8.164 MB / 0.7137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009928/0.4908, allocations: 1.011 MB / 0.8132 GB, free: 7.117 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4908, allocations: 4.031 kB / 0.8132 GB, free: 7.113 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000528/0.4913, allocations: 218.5 kB / 0.8134 GB, free: 6.898 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.4913, allocations: 4 kB / 0.8135 GB, free: 6.895 MB / 0.7137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.193e-05/0.4913, allocations: 16.8 kB / 0.8135 GB, free: 6.879 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.4913, allocations: 8 kB / 0.8135 GB, free: 6.871 MB / 0.7137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4913, allocations: 0.7031 kB / 0.8135 GB, free: 6.871 MB / 0.7137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005499/0.4919, allocations: 0.5885 MB / 0.814 GB, free: 6.262 MB / 0.7137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.492, allocations: 131.3 kB / 0.8142 GB, free: 6.133 MB / 0.7137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.427e-05/0.4921, allocations: 16.69 kB / 0.8142 GB, free: 6.117 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.4923, allocations: 18.23 kB / 0.8142 GB, free: 6.102 MB / 0.7137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.849e-05/0.4924, allocations: 44.56 kB / 0.8143 GB, free: 6.055 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/0.4924, allocations: 19.98 kB / 0.8143 GB, free: 6.035 MB / 0.7137 GB Notification: Performance of sorting global known variables: time 0.0001348/0.4926, allocations: 200.4 kB / 0.8145 GB, free: 5.84 MB / 0.7137 GB Notification: Performance of sort global known variables: time 5e-08/0.4926, allocations: 0 / 0.8145 GB, free: 5.84 MB / 0.7137 GB Notification: Performance of remove unused functions: time 0.0004453/0.493, allocations: 375.2 kB / 0.8148 GB, free: 5.473 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.0001589/0.4932, allocations: 105 kB / 0.8149 GB, free: 5.363 MB / 0.7137 GB Notification: Performance of simCode: created initialization part: time 0.0003469/0.4935, allocations: 332.8 kB / 0.8152 GB, free: 5.039 MB / 0.7137 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.4935, allocations: 8 kB / 0.8152 GB, free: 5.031 MB / 0.7137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.4937, allocations: 197.8 kB / 0.8154 GB, free: 4.836 MB / 0.7137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.4948, allocations: 0.5651 MB / 0.816 GB, free: 4.355 MB / 0.7137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.4966, allocations: 1.667 MB / 0.8176 GB, free: 2.66 MB / 0.7137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.4967, allocations: 245.4 kB / 0.8178 GB, free: 2.398 MB / 0.7137 GB Notification: Performance of simCode: alias equations: time 0.0003609/0.4971, allocations: 148.7 kB / 0.818 GB, free: 2.266 MB / 0.7137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006463/0.4977, allocations: 375 kB / 0.8183 GB, free: 1.891 MB / 0.7137 GB Notification: Performance of SimCode: time 6.01e-07/0.4977, allocations: 8 kB / 0.8184 GB, free: 1.883 MB / 0.7137 GB Notification: Performance of Templates: time 0.01993/0.5176, allocations: 19.46 MB / 0.8374 GB, free: 15.04 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.1428257818333805]