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.001296/0.001296, allocations: 78.8 kB / 19.76 MB, free: 1.875 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.001561/0.001561, allocations: 160.5 kB / 23.01 MB, free: 4.602 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.441/1.441, allocations: 177.2 MB / 203.4 MB, free: 9 MB / 190.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.002689/0.002689, allocations: 233.8 kB / 260 MB, free: 488 kB / 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 0.9283/0.9283, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.1 MB " [Timeout remaining time 179] 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.003163/0.003163, allocations: 95.84 kB / 0.6473 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.4097, allocations: 95.35 MB / 0.7404 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.2256/0.6353, allocations: 180.8 MB / 0.917 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01086/0.6462, allocations: 5.992 MB / 0.9228 GB, free: 7.473 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001424/0.6476, allocations: 43.69 kB / 0.9229 GB, free: 7.43 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002083/0.6497, allocations: 0.6954 MB / 0.9236 GB, free: 6.73 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.008163/0.6579, allocations: 2.805 MB / 0.9263 GB, free: 3.914 MB / 0.7481 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.002451/0.6603, allocations: 0.7219 MB / 0.927 GB, free: 3.195 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004947/0.6653, allocations: 3.325 MB / 0.9303 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001348/0.6666, allocations: 0.8128 MB / 0.931 GB, free: 15.03 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002501/0.6691, allocations: 1.316 MB / 0.9323 GB, free: 13.71 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002349/0.6714, allocations: 1.132 MB / 0.9334 GB, free: 12.58 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.000221/0.6717, allocations: 128 kB / 0.9336 GB, free: 12.46 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004085/0.6758, allocations: 1.924 MB / 0.9354 GB, free: 10.53 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0006459/0.6764, allocations: 0.5258 MB / 0.936 GB, free: 10 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0009415/0.6773, allocations: 0.6226 MB / 0.9366 GB, free: 9.375 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.004456/0.6818, allocations: 2.723 MB / 0.9392 GB, free: 6.645 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.6818, allocations: 4 kB / 0.9392 GB, free: 6.641 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6818, allocations: 0 / 0.9392 GB, free: 6.641 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.973e-05/0.6818, allocations: 0 / 0.9392 GB, free: 6.641 MB / 0.7637 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.004208/0.686, allocations: 1.742 MB / 0.9409 GB, free: 4.859 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.6861, allocations: 13.28 kB / 0.9409 GB, free: 4.848 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002325/0.6884, allocations: 350.9 kB / 0.9413 GB, free: 4.504 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001688/0.6901, allocations: 0.822 MB / 0.9421 GB, free: 3.652 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.458e-05/0.6902, allocations: 78.02 kB / 0.9422 GB, free: 3.574 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/0.6903, allocations: 99.98 kB / 0.9422 GB, free: 3.477 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002214/0.6925, allocations: 1.392 MB / 0.9436 GB, free: 2.004 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/0.6926, allocations: 0 / 0.9436 GB, free: 2.004 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/0.6927, allocations: 43.97 kB / 0.9436 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.702e-05/0.6928, allocations: 62.08 kB / 0.9437 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002082/0.6948, allocations: 1.246 MB / 0.9449 GB, free: 0.6445 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.005747/0.7006, allocations: 2.965 MB / 0.9478 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.7021, allocations: 0.8203 MB / 0.9486 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007769/0.7028, allocations: 492.4 kB / 0.9491 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.26e-05/0.7029, allocations: 12.66 kB / 0.9491 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009217/0.7038, allocations: 0.6853 MB / 0.9498 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=76): time 3.096e-06/0.7038, allocations: 0 / 0.9498 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=76): time 0.002177/0.706, allocations: 1.153 MB / 0.9509 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/0.7061, allocations: 60.06 kB / 0.951 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006884/0.7067, allocations: 0.5029 MB / 0.9514 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.262e-05/0.7068, allocations: 41.7 kB / 0.9515 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003801/0.7072, allocations: 484.7 kB / 0.9519 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002832/0.7075, allocations: 277.6 kB / 0.9522 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002273/0.7077, allocations: 134.7 kB / 0.9523 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002168/0.7079, allocations: 378.8 kB / 0.9527 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005458/0.7085, allocations: 329.8 kB / 0.953 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006317/0.7091, allocations: 448.7 kB / 0.9534 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.7103, allocations: 0.8233 MB / 0.9542 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.7104, allocations: 0 / 0.9542 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001533/0.7119, allocations: 0.9225 MB / 0.9551 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.7119, allocations: 12.06 kB / 0.9552 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.7119, allocations: 7.984 kB / 0.9552 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.7119, allocations: 7.938 kB / 0.9552 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007265/0.7127, allocations: 155.8 kB / 0.9553 GB, free: 5.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.7127, allocations: 4 kB / 0.9553 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007207/0.7134, allocations: 63.45 kB / 0.9554 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-05/0.7135, allocations: 31.98 kB / 0.9554 GB, free: 5.652 MB / 0.7794 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.0005198/0.714, allocations: 333.5 kB / 0.9557 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.7141, allocations: 75.53 kB / 0.9558 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.7143, allocations: 115.2 kB / 0.9559 GB, free: 5.129 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.7144, allocations: 11.94 kB / 0.9559 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.7144, allocations: 0 / 0.9559 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00145/0.7158, allocations: 1.089 MB / 0.957 GB, free: 3.945 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 postOpt removeSimpleEquations (simulation): time 0.003169/0.719, allocations: 1.892 MB / 0.9588 GB, free: 2.008 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.719, allocations: 0 / 0.9588 GB, free: 2.008 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008913/0.7199, allocations: 171.8 kB / 0.959 GB, free: 1.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.447e-06/0.7199, allocations: 8.031 kB / 0.959 GB, free: 1.832 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.536e-05/0.7199, allocations: 23.98 kB / 0.959 GB, free: 1.809 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.7199, allocations: 4 kB / 0.959 GB, free: 1.805 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.72, allocations: 4 kB / 0.959 GB, free: 1.801 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002061/0.722, allocations: 1.356 MB / 0.9604 GB, free: 432 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004261/0.7224, allocations: 171.4 kB / 0.9605 GB, free: 260 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.056e-05/0.7225, allocations: 12 kB / 0.9605 GB, free: 248 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006204/0.7231, allocations: 27.94 kB / 0.9606 GB, free: 220 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.083e-05/0.7232, allocations: 40.58 kB / 0.9606 GB, free: 180 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-05/0.7233, allocations: 31.92 kB / 0.9606 GB, free: 148 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004793/0.7238, allocations: 362.9 kB / 0.961 GB, free: 15.79 MB / 0.795 GB Notification: Performance of sort global known variables: time 9e-08/0.7238, allocations: 0 / 0.961 GB, free: 15.79 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0009169/0.7247, allocations: 371.3 kB / 0.9613 GB, free: 15.43 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.0002733/0.725, allocations: 182.9 kB / 0.9615 GB, free: 15.24 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001268/0.7262, allocations: 0.7668 MB / 0.9623 GB, free: 14.47 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.7262, allocations: 4 kB / 0.9623 GB, free: 14.47 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005963/0.7268, allocations: 408.2 kB / 0.9627 GB, free: 14.07 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002362/0.7292, allocations: 0.5327 MB / 0.9632 GB, free: 13.55 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003485/0.7327, allocations: 2.19 MB / 0.9653 GB, free: 11.32 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006528/0.7333, allocations: 0.5425 MB / 0.9658 GB, free: 10.75 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0008282/0.7342, allocations: 258.6 kB / 0.9661 GB, free: 10.5 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002289/0.7344, allocations: 68.5 kB / 0.9662 GB, free: 10.43 MB / 0.795 GB Notification: Performance of SimCode: time 5.41e-07/0.7344, allocations: 0 / 0.9662 GB, free: 10.43 MB / 0.795 GB Notification: Performance of Templates: time 0.03227/0.7667, allocations: 18.51 MB / 0.9842 GB, free: 8.367 MB / 0.8106 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 ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.017310273949988] Failed to read output from testmodel.py, exit status != 0: 0.77558349003084 1.075920629 0.39147175300000003 Calling exit ...