Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow") translateModel(IBPSA.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 107 kB / 17.03 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 192.1 kB / 17.97 MB, free: 5.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7201/0.7201, allocations: 115.1 MB / 406.9 MB, free: 6.277 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00228/0.00228, allocations: 67.89 kB / 494.8 MB, free: 15.8 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3564, allocations: 76.14 MB / 0.5576 GB, free: 36.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.4995/0.856, allocations: 204.1 MB / 0.7569 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009679/0.8657, allocations: 6.367 MB / 0.7631 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001451/0.8672, allocations: 38.5 kB / 0.7631 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001826/0.869, allocations: 0.7379 MB / 0.7639 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006396/0.8754, allocations: 2.679 MB / 0.7665 GB, free: 1.688 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.001792/0.8772, allocations: 0.7117 MB / 0.7672 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004305/0.8815, allocations: 3.274 MB / 0.7704 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001563/0.8831, allocations: 1.144 MB / 0.7715 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002475/0.8856, allocations: 1.245 MB / 0.7727 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002257/0.8879, allocations: 1.101 MB / 0.7738 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002478/0.8882, allocations: 128.8 kB / 0.7739 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004878/0.893, allocations: 2.357 MB / 0.7762 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007084/0.8938, allocations: 0.5158 MB / 0.7767 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001301/0.8951, allocations: 0.7369 MB / 0.7774 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004847/0.8999, allocations: 2.795 MB / 0.7802 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.9, allocations: 0.6875 kB / 0.7802 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9, allocations: 0.875 kB / 0.7802 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.801e-05/0.9, allocations: 0.5625 kB / 0.7802 GB, free: 1.375 MB / 0.5762 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.004362/0.9044, allocations: 1.77 MB / 0.7819 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.9044, allocations: 8.5 kB / 0.7819 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002315/0.9067, allocations: 345.8 kB / 0.7822 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001569/0.9083, allocations: 0.8772 MB / 0.7831 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.263e-05/0.9084, allocations: 80.14 kB / 0.7832 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.9085, allocations: 101.2 kB / 0.7833 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/0.9103, allocations: 1.191 MB / 0.7844 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/0.9104, allocations: 0 / 0.7844 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.846e-05/0.9105, allocations: 40.94 kB / 0.7845 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-05/0.9105, allocations: 61.22 kB / 0.7845 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001692/0.9122, allocations: 1.249 MB / 0.7857 GB, free: 16.06 MB / 0.5919 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.0064/0.9186, allocations: 5.104 MB / 0.7907 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.92, allocations: 1.158 MB / 0.7919 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000649/0.9207, allocations: 0.5085 MB / 0.7924 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.884e-05/0.9207, allocations: 23.38 kB / 0.7924 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006987/0.9215, allocations: 485.1 kB / 0.7928 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 3.206e-06/0.9215, allocations: 0 / 0.7928 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.001938/0.9234, allocations: 1.157 MB / 0.794 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.9235, allocations: 60.92 kB / 0.794 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008351/0.9243, allocations: 0.5754 MB / 0.7946 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.058e-05/0.9244, allocations: 39.05 kB / 0.7946 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002992/0.9247, allocations: 461.2 kB / 0.7951 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002657/0.925, allocations: 270.2 kB / 0.7953 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/0.9252, allocations: 133.1 kB / 0.7955 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.9254, allocations: 388.6 kB / 0.7958 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004697/0.9259, allocations: 334.1 kB / 0.7961 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005633/0.9265, allocations: 447.2 kB / 0.7966 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.9275, allocations: 0.8254 MB / 0.7974 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.9276, allocations: 2.469 kB / 0.7974 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00134/0.9289, allocations: 0.9271 MB / 0.7983 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.9289, allocations: 8.094 kB / 0.7983 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.929, allocations: 3.219 kB / 0.7983 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.929, allocations: 10.09 kB / 0.7983 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006738/0.9297, allocations: 156.4 kB / 0.7985 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.748e-05/0.9297, allocations: 9.75 kB / 0.7985 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008876/0.9306, allocations: 65.06 kB / 0.7985 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.918e-05/0.9306, allocations: 24.12 kB / 0.7985 GB, free: 11.73 MB / 0.5919 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.0004966/0.9312, allocations: 333.5 kB / 0.7989 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/0.9313, allocations: 79.66 kB / 0.7989 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002701/0.9316, allocations: 108.8 kB / 0.799 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.9316, allocations: 8.469 kB / 0.7991 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.9316, allocations: 0 / 0.7991 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001215/0.9329, allocations: 1.098 MB / 0.8001 GB, free: 11.1 MB / 0.5919 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.003271/0.9361, allocations: 2.306 MB / 0.8024 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.9362, allocations: 3.938 kB / 0.8024 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000868/0.937, allocations: 179.3 kB / 0.8026 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-05/0.9371, allocations: 3.656 kB / 0.8026 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.525e-05/0.9371, allocations: 13.72 kB / 0.8026 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.9371, allocations: 3.875 kB / 0.8026 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.9371, allocations: 0.9062 kB / 0.8026 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/0.9389, allocations: 1.356 MB / 0.8039 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005262/0.9394, allocations: 253.8 kB / 0.8041 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.9396, allocations: 15.19 kB / 0.8042 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007193/0.9403, allocations: 26.45 kB / 0.8042 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.349e-05/0.9404, allocations: 47.83 kB / 0.8042 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-05/0.9405, allocations: 27.72 kB / 0.8042 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004481/0.941, allocations: 411.9 kB / 0.8046 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.941, allocations: 1 kB / 0.8046 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009769/0.942, allocations: 368.8 kB / 0.805 GB, free: 10.09 MB / 0.5919 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.0002721/0.9422, allocations: 181.6 kB / 0.8052 GB, free: 10 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001052/0.9433, allocations: 0.7954 MB / 0.8059 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.9433, allocations: 4.75 kB / 0.8059 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005222/0.9438, allocations: 425.9 kB / 0.8064 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002445/0.9463, allocations: 0.5949 MB / 0.8069 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003248/0.9495, allocations: 2.167 MB / 0.8091 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007122/0.9503, allocations: 1.137 MB / 0.8102 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009067/0.9512, allocations: 272.6 kB / 0.8104 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002468/0.9515, allocations: 75.77 kB / 0.8105 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of SimCode: time 2.8e-07/0.9515, allocations: 0 / 0.8105 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of Templates: time 0.02946/0.9809, allocations: 19.06 MB / 0.8291 GB, free: 10.97 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)