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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 113.9 kB / 17.13 MB, free: 5.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 198.1 kB / 20.08 MB, free: 3 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002392/0.002392, allocations: 279.7 kB / 303.6 MB, free: 3.742 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.064/1.064, allocations: 180.9 MB / 0.5268 GB, free: 2.699 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002862/0.002862, allocations: 115.8 kB / 0.7259 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7084/0.7112, allocations: 94.15 MB / 0.8179 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.2757/0.9869, allocations: 204.9 MB / 1.018 GB, free: 3.598 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01238/0.9993, allocations: 6.389 MB / 1.024 GB, free: 13.19 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001835/1.001, allocations: 35.81 kB / 1.024 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002303/1.003, allocations: 0.7733 MB / 1.025 GB, free: 12.38 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.008237/1.012, allocations: 2.763 MB / 1.028 GB, free: 9.605 MB / 0.7637 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-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.002338/1.014, allocations: 0.7158 MB / 1.028 GB, free: 8.895 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.005505/1.02, allocations: 3.279 MB / 1.032 GB, free: 5.605 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001651/1.021, allocations: 0.9336 MB / 1.032 GB, free: 4.645 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003278/1.024, allocations: 1.296 MB / 1.034 GB, free: 3.344 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002927/1.027, allocations: 1.174 MB / 1.035 GB, free: 2.172 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0002506/1.028, allocations: 128 kB / 1.035 GB, free: 2.047 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006366/1.034, allocations: 2.506 MB / 1.037 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0008198/1.035, allocations: 0.5297 MB / 1.038 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.00128/1.036, allocations: 0.7353 MB / 1.039 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.006021/1.042, allocations: 2.812 MB / 1.041 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/1.042, allocations: 0 / 1.041 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.793e-06/1.042, allocations: 0 / 1.041 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.775e-05/1.042, allocations: 0 / 1.041 GB, free: 11.45 MB / 0.7794 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.00495/1.047, allocations: 1.809 MB / 1.043 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/1.047, allocations: 8.031 kB / 1.043 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00245/1.05, allocations: 350.9 kB / 1.044 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001778/1.051, allocations: 0.8863 MB / 1.044 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.682e-05/1.051, allocations: 74.02 kB / 1.044 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001812/1.052, allocations: 103.9 kB / 1.045 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/1.054, allocations: 1.191 MB / 1.046 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.234e-05/1.054, allocations: 0 / 1.046 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/1.054, allocations: 51.92 kB / 1.046 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.354e-05/1.054, allocations: 62.06 kB / 1.046 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002274/1.056, allocations: 1.246 MB / 1.047 GB, free: 5.531 MB / 0.7794 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.008028/1.064, allocations: 5.113 MB / 1.052 GB, free: 15.96 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/1.066, allocations: 1.127 MB / 1.053 GB, free: 14.75 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008148/1.067, allocations: 493.2 kB / 1.054 GB, free: 14.27 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 7.06e-05/1.067, allocations: 16.8 kB / 1.054 GB, free: 14.26 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000826/1.068, allocations: 484.2 kB / 1.054 GB, free: 13.77 MB / 0.795 GB Notification: Performance of pre-optimization done (n=76): time 3.035e-06/1.068, allocations: 0 / 1.054 GB, free: 13.77 MB / 0.795 GB Notification: Performance of matching and sorting (n=76): time 0.002366/1.07, allocations: 1.169 MB / 1.055 GB, free: 12.6 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/1.07, allocations: 60.06 kB / 1.055 GB, free: 12.53 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009097/1.071, allocations: 0.5745 MB / 1.056 GB, free: 11.95 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 7.34e-05/1.071, allocations: 37.7 kB / 1.056 GB, free: 11.9 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004389/1.072, allocations: 476.6 kB / 1.056 GB, free: 11.43 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000339/1.072, allocations: 277.5 kB / 1.057 GB, free: 11.16 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002654/1.072, allocations: 134.6 kB / 1.057 GB, free: 11.02 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002658/1.073, allocations: 386.8 kB / 1.057 GB, free: 10.63 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005651/1.073, allocations: 333.8 kB / 1.057 GB, free: 10.3 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006945/1.074, allocations: 448.8 kB / 1.058 GB, free: 9.828 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/1.075, allocations: 0.8193 MB / 1.059 GB, free: 8.977 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/1.075, allocations: 8 kB / 1.059 GB, free: 8.969 MB / 0.795 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001598/1.077, allocations: 0.9262 MB / 1.06 GB, free: 8.035 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/1.077, allocations: 4 kB / 1.06 GB, free: 8.031 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/1.077, allocations: 7.938 kB / 1.06 GB, free: 8.023 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-05/1.077, allocations: 8 kB / 1.06 GB, free: 8.016 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007244/1.078, allocations: 160.1 kB / 1.06 GB, free: 7.859 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-05/1.078, allocations: 12 kB / 1.06 GB, free: 7.848 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007892/1.078, allocations: 63.5 kB / 1.06 GB, free: 7.785 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.259e-05/1.079, allocations: 24 kB / 1.06 GB, free: 7.762 MB / 0.795 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.0006781/1.079, allocations: 333.5 kB / 1.06 GB, free: 7.426 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/1.079, allocations: 87.47 kB / 1.06 GB, free: 7.34 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003013/1.08, allocations: 111.7 kB / 1.06 GB, free: 7.223 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/1.08, allocations: 8 kB / 1.06 GB, free: 7.215 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/1.08, allocations: 4 kB / 1.06 GB, free: 7.211 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001534/1.081, allocations: 1.097 MB / 1.061 GB, free: 6.027 MB / 0.795 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.003703/1.085, allocations: 2.31 MB / 1.064 GB, free: 3.625 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/1.085, allocations: 0 / 1.064 GB, free: 3.625 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008932/1.086, allocations: 171.8 kB / 1.064 GB, free: 3.457 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/1.086, allocations: 0 / 1.064 GB, free: 3.457 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.744e-05/1.086, allocations: 27.97 kB / 1.064 GB, free: 3.43 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/1.086, allocations: 7.938 kB / 1.064 GB, free: 3.422 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.086, allocations: 0 / 1.064 GB, free: 3.422 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002142/1.088, allocations: 1.352 MB / 1.065 GB, free: 2.051 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004523/1.088, allocations: 256.4 kB / 1.065 GB, free: 1.781 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.987e-05/1.089, allocations: 12 kB / 1.065 GB, free: 1.77 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006222/1.089, allocations: 23.98 kB / 1.065 GB, free: 1.746 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/1.089, allocations: 44.59 kB / 1.066 GB, free: 1.699 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.184e-05/1.089, allocations: 28 kB / 1.066 GB, free: 1.672 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0005531/1.09, allocations: 415 kB / 1.066 GB, free: 1.273 MB / 0.795 GB Notification: Performance of sort global known variables: time 9e-08/1.09, allocations: 0 / 1.066 GB, free: 1.273 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001058/1.091, allocations: 375.2 kB / 1.066 GB, free: 0.9062 MB / 0.795 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.0003258/1.091, allocations: 177 kB / 1.066 GB, free: 0.7266 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001356/1.093, allocations: 0.7673 MB / 1.067 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/1.093, allocations: 4.125 kB / 1.067 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006111/1.093, allocations: 411.5 kB / 1.068 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002693/1.096, allocations: 0.5844 MB / 1.068 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004103/1.1, allocations: 2.272 MB / 1.07 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009972/1.101, allocations: 1.139 MB / 1.072 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003615/1.101, allocations: 83.42 kB / 1.072 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of SimCode: time 1.202e-06/1.101, allocations: 0 / 1.072 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of Templates: time 0.03616/1.138, allocations: 15.96 MB / 1.087 GB, free: 11.59 MB / 0.8262 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.08271632087417] Failed to read output from testmodel.py, exit status != 0: 1.147690663812682 1.163335237 0.11784730800000001 Calling exit ...