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.00119/0.00119, allocations: 101.7 kB / 19.59 MB, free: 2.324 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.001268/0.001268, allocations: 194 kB / 22.85 MB, free: 5.652 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.371/1.371, allocations: 225.6 MB / 251.6 MB, free: 13.05 MB / 206.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.002492/0.002492, allocations: 285.5 kB / 307 MB, free: 8.449 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.187/1.187, allocations: 180.8 MB / 0.5304 GB, free: 14.57 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.002797/0.002797, allocations: 104.3 kB / 0.7311 GB, free: 39.07 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2102, allocations: 94.2 MB / 0.8231 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.8546/1.065, allocations: 203.2 MB / 1.021 GB, free: 3.34 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01109/1.076, allocations: 6.378 MB / 1.028 GB, free: 3.312 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00201/1.078, allocations: 47.56 kB / 1.028 GB, free: 3.312 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002181/1.08, allocations: 0.7693 MB / 1.029 GB, free: 3.297 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01228/1.092, allocations: 2.829 MB / 1.031 GB, free: 3.191 MB / 0.7481 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.003313/1.096, allocations: 0.7474 MB / 1.032 GB, free: 3.164 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.006952/1.103, allocations: 3.351 MB / 1.035 GB, free: 3.16 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001732/1.104, allocations: 0.8252 MB / 1.036 GB, free: 3.094 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003768/1.108, allocations: 1.302 MB / 1.037 GB, free: 3.094 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003389/1.112, allocations: 1.165 MB / 1.038 GB, free: 3.094 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002865/1.112, allocations: 128.9 kB / 1.039 GB, free: 3.094 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005388/1.117, allocations: 1.937 MB / 1.04 GB, free: 3.07 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0007866/1.118, allocations: 0.5333 MB / 1.041 GB, free: 3.066 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001416/1.119, allocations: 0.7409 MB / 1.042 GB, free: 3.066 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.005449/1.125, allocations: 2.707 MB / 1.044 GB, free: 2.918 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/1.125, allocations: 1.062 kB / 1.044 GB, free: 2.918 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.053e-06/1.125, allocations: 3.188 kB / 1.044 GB, free: 2.918 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.958e-05/1.125, allocations: 0 / 1.044 GB, free: 2.918 MB / 0.7481 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.004518/1.129, allocations: 1.732 MB / 1.046 GB, free: 18.15 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/1.129, allocations: 11.53 kB / 1.046 GB, free: 18.15 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002214/1.132, allocations: 352.9 kB / 1.046 GB, free: 18.08 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001617/1.133, allocations: 0.8051 MB / 1.047 GB, free: 17.82 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.14e-05/1.133, allocations: 76.62 kB / 1.047 GB, free: 17.82 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/1.133, allocations: 103.4 kB / 1.047 GB, free: 17.81 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00205/1.136, allocations: 1.395 MB / 1.049 GB, free: 17.48 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/1.136, allocations: 0.7188 kB / 1.049 GB, free: 17.48 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/1.136, allocations: 46.17 kB / 1.049 GB, free: 17.48 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.221e-05/1.136, allocations: 63.48 kB / 1.049 GB, free: 17.48 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001756/1.138, allocations: 1.246 MB / 1.05 GB, free: 17.46 MB / 0.7637 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.006557/1.144, allocations: 5.038 MB / 1.055 GB, free: 15 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/1.145, allocations: 0.8327 MB / 1.056 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006579/1.146, allocations: 488.5 kB / 1.056 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 5.589e-05/1.146, allocations: 17.41 kB / 1.056 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000893/1.147, allocations: 0.6795 MB / 1.057 GB, free: 14.65 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=76): time 2.915e-06/1.147, allocations: 0 / 1.057 GB, free: 14.65 MB / 0.7637 GB Notification: Performance of matching and sorting (n=76): time 0.002003/1.149, allocations: 1.156 MB / 1.058 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/1.149, allocations: 64.19 kB / 1.058 GB, free: 14.49 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007167/1.15, allocations: 0.5814 MB / 1.059 GB, free: 14.36 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 7.017e-05/1.15, allocations: 39.14 kB / 1.059 GB, free: 14.33 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002818/1.15, allocations: 474 kB / 1.059 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002349/1.15, allocations: 284.7 kB / 1.059 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/1.151, allocations: 131.4 kB / 1.06 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002077/1.151, allocations: 385.8 kB / 1.06 GB, free: 13.57 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005424/1.151, allocations: 332.8 kB / 1.06 GB, free: 13.57 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006369/1.152, allocations: 445.7 kB / 1.061 GB, free: 13.47 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/1.153, allocations: 0.8296 MB / 1.062 GB, free: 13.36 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/1.153, allocations: 0 / 1.062 GB, free: 13.36 MB / 0.7637 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001325/1.154, allocations: 0.9274 MB / 1.062 GB, free: 13.28 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/1.154, allocations: 9.125 kB / 1.062 GB, free: 13.28 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/1.154, allocations: 2.281 kB / 1.062 GB, free: 13.28 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/1.154, allocations: 7.172 kB / 1.062 GB, free: 13.28 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006544/1.155, allocations: 158.2 kB / 1.063 GB, free: 13.28 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/1.155, allocations: 9.531 kB / 1.063 GB, free: 13.27 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007742/1.156, allocations: 64.69 kB / 1.063 GB, free: 13.24 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.822e-05/1.156, allocations: 26.22 kB / 1.063 GB, free: 13.24 MB / 0.7637 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.0005465/1.156, allocations: 332.9 kB / 1.063 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/1.157, allocations: 86.61 kB / 1.063 GB, free: 13.08 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002396/1.157, allocations: 106.8 kB / 1.063 GB, free: 13.06 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/1.157, allocations: 8.531 kB / 1.063 GB, free: 13.06 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.728e-05/1.157, allocations: 3.938 kB / 1.063 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001264/1.158, allocations: 1.095 MB / 1.064 GB, free: 12.6 MB / 0.7637 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.003179/1.161, allocations: 2.279 MB / 1.066 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/1.161, allocations: 4.469 kB / 1.066 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007837/1.162, allocations: 170.5 kB / 1.067 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.515e-06/1.162, allocations: 6.594 kB / 1.067 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.154e-05/1.162, allocations: 23.33 kB / 1.067 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/1.162, allocations: 5.516 kB / 1.067 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.162, allocations: 1.125 kB / 1.067 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/1.164, allocations: 1.355 MB / 1.068 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004454/1.164, allocations: 184.8 kB / 1.068 GB, free: 11.86 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/1.164, allocations: 17.28 kB / 1.068 GB, free: 11.86 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005976/1.165, allocations: 20.53 kB / 1.068 GB, free: 11.86 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.582e-05/1.165, allocations: 48.14 kB / 1.068 GB, free: 11.86 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.103e-05/1.165, allocations: 25.47 kB / 1.068 GB, free: 11.86 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0005039/1.166, allocations: 414.7 kB / 1.069 GB, free: 11.77 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.01e-07/1.166, allocations: 0.9062 kB / 1.069 GB, free: 11.77 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009823/1.167, allocations: 362.9 kB / 1.069 GB, free: 11.72 MB / 0.7637 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.0003249/1.167, allocations: 183 kB / 1.069 GB, free: 11.63 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00119/1.168, allocations: 0.7665 MB / 1.07 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.168, allocations: 5.125 kB / 1.07 GB, free: 11.61 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005332/1.169, allocations: 411.2 kB / 1.07 GB, free: 11.61 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002439/1.171, allocations: 0.5941 MB / 1.071 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003572/1.175, allocations: 2.205 MB / 1.073 GB, free: 10.75 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008256/1.176, allocations: 1.139 MB / 1.074 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0009756/1.177, allocations: 270.7 kB / 1.074 GB, free: 9.984 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000231/1.177, allocations: 77.62 kB / 1.075 GB, free: 9.977 MB / 0.7637 GB Notification: Performance of SimCode: time 1.443e-06/1.177, allocations: 0 / 1.075 GB, free: 9.977 MB / 0.7637 GB Notification: Performance of Templates: time 0.03503/1.212, allocations: 19.9 MB / 1.094 GB, free: 3.336 MB / 0.7637 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.598689408972859] Failed to read output from testmodel.py, exit status != 0: 1.2200857918942347 1.23527179 0.10692125300000001 Calling exit ...