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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4279/0.4279, allocations: 87.5 MB / 104.9 MB, free: 13.03 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.246/1.246, allocations: 222.9 MB / 349.1 MB, free: 2.758 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009978/0.0009977, allocations: 107.8 kB / 420 MB, free: 8.504 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009389/0.0009389, allocations: 59.91 kB / 0.4891 GB, free: 7.715 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2603, allocations: 70.05 MB / 0.5575 GB, free: 44.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.4303/0.6906, allocations: 201.9 MB / 0.7547 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.008097/0.6987, allocations: 6.451 MB / 0.761 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00184/0.7006, allocations: 31.34 kB / 0.761 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.00168/0.7023, allocations: 0.6402 MB / 0.7616 GB, free: 0.9961 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.005548/0.7079, allocations: 2.523 MB / 0.7641 GB, free: 0.8594 MB / 0.5105 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.001451/0.7094, allocations: 0.6313 MB / 0.7647 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003751/0.7131, allocations: 4.85 MB / 0.7694 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.7141, allocations: 0.9625 MB / 0.7704 GB, free: 0.6719 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001561/0.7157, allocations: 1.099 MB / 0.7715 GB, free: 0.6367 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001754/0.7175, allocations: 1.153 MB / 0.7726 GB, free: 500 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001311/0.7176, allocations: 74.66 kB / 0.7727 GB, free: 500 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004459/0.7221, allocations: 2.718 MB / 0.7753 GB, free: 476 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0005131/0.7226, allocations: 478.6 kB / 0.7758 GB, free: 420 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0007954/0.7234, allocations: 0.685 MB / 0.7764 GB, free: 236 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.004273/0.7277, allocations: 2.894 MB / 0.7793 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.7277, allocations: 2.812 kB / 0.7793 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7277, allocations: 4 kB / 0.7793 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.979e-05/0.7278, allocations: 0 / 0.7793 GB, free: 15.55 MB / 0.5261 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.003865/0.7316, allocations: 1.77 MB / 0.781 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.7317, allocations: 11 kB / 0.781 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001979/0.7337, allocations: 351.4 kB / 0.7813 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/0.735, allocations: 0.8384 MB / 0.7822 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5e-05/0.7351, allocations: 78.03 kB / 0.7822 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.7352, allocations: 104.2 kB / 0.7823 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/0.7369, allocations: 1.195 MB / 0.7835 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.7369, allocations: 0.9062 kB / 0.7835 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.527e-05/0.737, allocations: 36.94 kB / 0.7835 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.079e-05/0.7371, allocations: 61.53 kB / 0.7836 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001869/0.739, allocations: 1.249 MB / 0.7848 GB, free: 12.86 MB / 0.5261 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.005502/0.7445, allocations: 5.074 MB / 0.7898 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/0.7459, allocations: 1.149 MB / 0.7909 GB, free: 7.719 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006676/0.7466, allocations: 0.5027 MB / 0.7914 GB, free: 7.219 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.624e-05/0.7467, allocations: 18.91 kB / 0.7914 GB, free: 7.203 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006452/0.7473, allocations: 498.8 kB / 0.7919 GB, free: 6.703 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=76): time 2.245e-06/0.7473, allocations: 0 / 0.7919 GB, free: 6.703 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76): time 0.001793/0.7491, allocations: 1.152 MB / 0.793 GB, free: 5.551 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.7492, allocations: 60.06 kB / 0.7931 GB, free: 5.477 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000619/0.7498, allocations: 0.5744 MB / 0.7936 GB, free: 4.895 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.965e-05/0.7499, allocations: 41.7 kB / 0.7937 GB, free: 4.848 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002899/0.7502, allocations: 463.6 kB / 0.7941 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/0.7504, allocations: 268.5 kB / 0.7944 GB, free: 4.129 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.7506, allocations: 134.6 kB / 0.7945 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.7507, allocations: 390.7 kB / 0.7949 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004501/0.7512, allocations: 329.8 kB / 0.7952 GB, free: 3.277 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005309/0.7517, allocations: 465.1 kB / 0.7956 GB, free: 2.785 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.7527, allocations: 0.8255 MB / 0.7964 GB, free: 1.934 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.7527, allocations: 4 kB / 0.7964 GB, free: 1.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001216/0.754, allocations: 0.9292 MB / 0.7973 GB, free: 1.008 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.754, allocations: 5.875 kB / 0.7973 GB, free: 1.004 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.754, allocations: 4 kB / 0.7973 GB, free: 1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.754, allocations: 11.94 kB / 0.7974 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006197/0.7547, allocations: 150.1 kB / 0.7975 GB, free: 0.8516 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.7547, allocations: 12.33 kB / 0.7975 GB, free: 0.8398 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009702/0.7557, allocations: 164.5 kB / 0.7977 GB, free: 0.6836 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.644e-05/0.7557, allocations: 31.94 kB / 0.7977 GB, free: 0.6523 MB / 0.5261 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.0004117/0.7561, allocations: 333.3 kB / 0.798 GB, free: 332 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.7562, allocations: 83.06 kB / 0.7981 GB, free: 248 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002331/0.7565, allocations: 107.7 kB / 0.7982 GB, free: 136 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/0.7565, allocations: 8 kB / 0.7982 GB, free: 128 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.7565, allocations: 2.625 kB / 0.7982 GB, free: 128 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001105/0.7576, allocations: 1.085 MB / 0.7993 GB, free: 14.96 MB / 0.5417 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.002927/0.7606, allocations: 2.314 MB / 0.8015 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.7606, allocations: 0 / 0.8015 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007583/0.7613, allocations: 179.5 kB / 0.8017 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.7614, allocations: 3.938 kB / 0.8017 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.811e-05/0.7614, allocations: 19.98 kB / 0.8017 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.7614, allocations: 4 kB / 0.8017 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.7614, allocations: 1.797 kB / 0.8017 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007846/0.7693, allocations: 5.66 MB / 0.8073 GB, free: 6.586 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004004/0.7697, allocations: 248 kB / 0.8075 GB, free: 6.324 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.732e-05/0.7698, allocations: 19.98 kB / 0.8075 GB, free: 6.305 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007337/0.7705, allocations: 99.77 kB / 0.8076 GB, free: 6.207 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.568e-05/0.7706, allocations: 40.59 kB / 0.8076 GB, free: 6.164 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.056e-05/0.7707, allocations: 23.98 kB / 0.8077 GB, free: 6.141 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004168/0.7711, allocations: 419 kB / 0.8081 GB, free: 5.738 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7711, allocations: 0 / 0.8081 GB, free: 5.738 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001937/0.7731, allocations: 0.5224 MB / 0.8086 GB, free: 5.215 MB / 0.5417 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.0002652/0.7733, allocations: 188.3 kB / 0.8088 GB, free: 5.039 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0011/0.7744, allocations: 0.7977 MB / 0.8095 GB, free: 4.258 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.7745, allocations: 0 / 0.8095 GB, free: 4.258 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004995/0.775, allocations: 430.9 kB / 0.8099 GB, free: 3.852 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002433/0.7774, allocations: 0.5508 MB / 0.8105 GB, free: 3.305 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003597/0.781, allocations: 3.097 MB / 0.8135 GB, free: 180 kB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006636/0.7817, allocations: 1.159 MB / 0.8146 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001038/0.7827, allocations: 295.1 kB / 0.8149 GB, free: 14.69 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002476/0.783, allocations: 75.42 kB / 0.815 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of SimCode: time 4.11e-07/0.783, allocations: 0 / 0.815 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of Templates: time 0.02928/0.8123, allocations: 20.43 MB / 0.8349 GB, free: 10.44 MB / 0.573 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)