Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.conf.json 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.001377/0.001377, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001655/0.001655, allocations: 217.4 kB / 22.99 MB, free: 4.945 MB / 14.72 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.563/1.563, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002731/0.002731, allocations: 293 kB / 313.5 MB, free: 2.605 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.319/1.319, allocations: 180.6 MB / 0.5377 GB, free: 14.48 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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) Running command: translateModel(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow") translateModel(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00476/0.00476, allocations: 103.1 kB / 0.7407 GB, free: 27.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2795, allocations: 95.4 MB / 0.8339 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.8726/1.152, allocations: 180.8 MB / 1.01 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01137/1.163, allocations: 5.992 MB / 1.016 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002383/1.166, allocations: 48.31 kB / 1.016 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002466/1.168, allocations: 0.691 MB / 1.017 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.009983/1.178, allocations: 2.805 MB / 1.02 GB, free: 3.488 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/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.002417/1.181, allocations: 0.7173 MB / 1.02 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005345/1.186, allocations: 3.331 MB / 1.024 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001566/1.188, allocations: 0.8079 MB / 1.024 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003217/1.191, allocations: 1.317 MB / 1.026 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003053/1.194, allocations: 1.129 MB / 1.027 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002119/1.194, allocations: 128.5 kB / 1.027 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00525/1.199, allocations: 1.918 MB / 1.029 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007161/1.2, allocations: 0.5379 MB / 1.029 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001097/1.201, allocations: 0.6245 MB / 1.03 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005598/1.207, allocations: 2.725 MB / 1.033 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/1.207, allocations: 0 / 1.033 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.974e-06/1.207, allocations: 0.9375 kB / 1.033 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.353e-05/1.207, allocations: 3.25 kB / 1.033 GB, free: 2.941 MB / 0.7169 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.004471/1.211, allocations: 1.725 MB / 1.034 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/1.211, allocations: 9.781 kB / 1.034 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002157/1.213, allocations: 354.2 kB / 1.035 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001691/1.215, allocations: 0.8145 MB / 1.035 GB, free: 17.83 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.912e-05/1.215, allocations: 75.61 kB / 1.036 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/1.215, allocations: 103.8 kB / 1.036 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/1.217, allocations: 1.391 MB / 1.037 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.193e-05/1.218, allocations: 7.422 kB / 1.037 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/1.218, allocations: 39.56 kB / 1.037 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.716e-05/1.218, allocations: 61.72 kB / 1.037 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001763/1.219, allocations: 1.243 MB / 1.038 GB, free: 17.47 MB / 0.7325 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.00553/1.225, allocations: 2.964 MB / 1.041 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/1.226, allocations: 0.8313 MB / 1.042 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006533/1.227, allocations: 489.4 kB / 1.042 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.646e-05/1.227, allocations: 11 kB / 1.042 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008379/1.228, allocations: 0.6788 MB / 1.043 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 3.116e-06/1.228, allocations: 0 / 1.043 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.001847/1.23, allocations: 1.157 MB / 1.044 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/1.23, allocations: 60.62 kB / 1.044 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005649/1.23, allocations: 0.5093 MB / 1.045 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.867e-05/1.23, allocations: 44.33 kB / 1.045 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000287/1.231, allocations: 474.8 kB / 1.045 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/1.231, allocations: 280.1 kB / 1.046 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/1.231, allocations: 131.5 kB / 1.046 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002119/1.231, allocations: 383.6 kB / 1.046 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004425/1.232, allocations: 327.2 kB / 1.046 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004931/1.232, allocations: 450.4 kB / 1.047 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/1.233, allocations: 0.8226 MB / 1.048 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.233, allocations: 0 / 1.048 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001262/1.234, allocations: 0.9315 MB / 1.049 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/1.235, allocations: 8.828 kB / 1.049 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/1.235, allocations: 6.969 kB / 1.049 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/1.235, allocations: 7.031 kB / 1.049 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006355/1.235, allocations: 151.8 kB / 1.049 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/1.235, allocations: 13.34 kB / 1.049 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007435/1.236, allocations: 63.67 kB / 1.049 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.996e-05/1.236, allocations: 30.88 kB / 1.049 GB, free: 15.07 MB / 0.7325 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.0005582/1.237, allocations: 329.9 kB / 1.049 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/1.237, allocations: 79.34 kB / 1.049 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001996/1.237, allocations: 103.5 kB / 1.049 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/1.237, allocations: 6.844 kB / 1.049 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/1.237, allocations: 4.844 kB / 1.049 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001259/1.238, allocations: 1.091 MB / 1.05 GB, free: 14.04 MB / 0.7325 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.003123/1.241, allocations: 1.9 MB / 1.052 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/1.241, allocations: 4.875 kB / 1.052 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007648/1.242, allocations: 171.8 kB / 1.052 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/1.242, allocations: 1.969 kB / 1.052 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.496e-05/1.242, allocations: 22.28 kB / 1.052 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/1.242, allocations: 2.375 kB / 1.052 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.242, allocations: 1.062 kB / 1.052 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001854/1.244, allocations: 1.35 MB / 1.054 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004829/1.244, allocations: 179.6 kB / 1.054 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/1.245, allocations: 15.5 kB / 1.054 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005832/1.245, allocations: 20.12 kB / 1.054 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.135e-05/1.245, allocations: 44.11 kB / 1.054 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.514e-05/1.245, allocations: 35.42 kB / 1.054 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004686/1.246, allocations: 354.7 kB / 1.054 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7e-08/1.246, allocations: 0.9062 kB / 1.054 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001038/1.247, allocations: 375.4 kB / 1.055 GB, free: 12.11 MB / 0.7325 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.0003322/1.247, allocations: 185.8 kB / 1.055 GB, free: 12 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001177/1.248, allocations: 0.7629 MB / 1.056 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.248, allocations: 4 kB / 1.056 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006004/1.249, allocations: 410.9 kB / 1.056 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/1.251, allocations: 0.5395 MB / 1.057 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003759/1.255, allocations: 2.261 MB / 1.059 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005961/1.256, allocations: 0.5424 MB / 1.059 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002862/1.256, allocations: 74.52 kB / 1.059 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of SimCode: time 5.51e-07/1.256, allocations: 0 / 1.059 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of Templates: time 0.02967/1.285, allocations: 15.86 MB / 1.075 GB, free: 2.836 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.735985558945686] Failed to read output from testmodel.py, exit status != 0: 1.295556228607893 1.310804753 0.10029265199999994 Calling exit ...