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) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow") translateModel(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001829/0.001829, allocations: 103.7 kB / 16.35 MB, free: 6.289 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.001997/0.001997, allocations: 191.6 kB / 17.29 MB, free: 5.863 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.814/1.814, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00309/0.00309, allocations: 285.1 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.119/1.119, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002117, allocations: 91.05 kB / 0.5966 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3175, allocations: 86.98 MB / 0.6816 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.9366/1.254, allocations: 204.1 MB / 0.8809 GB, free: 2.375 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01508/1.269, allocations: 6.37 MB / 0.8872 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003027/1.272, allocations: 35.81 kB / 0.8872 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003051/1.276, allocations: 0.7304 MB / 0.8879 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01124/1.287, allocations: 2.676 MB / 0.8905 GB, free: 8.531 MB / 0.6544 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.003004/1.29, allocations: 0.7153 MB / 0.8912 GB, free: 7.824 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007048/1.297, allocations: 3.288 MB / 0.8944 GB, free: 4.527 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00259/1.3, allocations: 1.13 MB / 0.8955 GB, free: 3.383 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00457/1.304, allocations: 1.261 MB / 0.8968 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00447/1.309, allocations: 1.084 MB / 0.8978 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0006931/1.309, allocations: 128 kB / 0.898 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008104/1.318, allocations: 2.358 MB / 0.9003 GB, free: 14.55 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001564/1.319, allocations: 0.5182 MB / 0.9008 GB, free: 14.03 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003302/1.322, allocations: 0.7353 MB / 0.9015 GB, free: 13.29 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01015/1.333, allocations: 2.793 MB / 0.9042 GB, free: 10.49 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.662e-05/1.333, allocations: 0 / 0.9042 GB, free: 10.49 MB / 0.67 GB Notification: Performance of FrontEnd: time 4.809e-06/1.333, allocations: 0 / 0.9042 GB, free: 10.49 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001305/1.333, allocations: 0 / 0.9042 GB, free: 10.49 MB / 0.67 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.008598/1.342, allocations: 1.773 MB / 0.9059 GB, free: 8.66 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 7.249e-05/1.342, allocations: 12.03 kB / 0.906 GB, free: 8.648 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00325/1.345, allocations: 342.1 kB / 0.9063 GB, free: 8.312 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003103/1.348, allocations: 0.8817 MB / 0.9071 GB, free: 7.391 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/1.348, allocations: 82 kB / 0.9072 GB, free: 7.309 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004644/1.349, allocations: 96 kB / 0.9073 GB, free: 7.215 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003206/1.352, allocations: 1.191 MB / 0.9085 GB, free: 5.992 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.249e-05/1.352, allocations: 8 kB / 0.9085 GB, free: 5.984 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/1.352, allocations: 39.98 kB / 0.9085 GB, free: 5.945 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.453e-05/1.352, allocations: 62.06 kB / 0.9086 GB, free: 5.883 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002098/1.354, allocations: 1.249 MB / 0.9098 GB, free: 4.625 MB / 0.67 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.008721/1.363, allocations: 5.104 MB / 0.9148 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/1.365, allocations: 1.154 MB / 0.9159 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007962/1.366, allocations: 0.5074 MB / 0.9164 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.556e-05/1.366, allocations: 16.64 kB / 0.9164 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008751/1.367, allocations: 489.5 kB / 0.9169 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=76): time 4.699e-06/1.367, allocations: 0 / 0.9169 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.002358/1.369, allocations: 1.153 MB / 0.918 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.906e-05/1.369, allocations: 64 kB / 0.9181 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009009/1.37, allocations: 0.5783 MB / 0.9186 GB, free: 11 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.018e-05/1.37, allocations: 45.69 kB / 0.9187 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004187/1.37, allocations: 459.8 kB / 0.9191 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003416/1.371, allocations: 272 kB / 0.9194 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002594/1.371, allocations: 134.6 kB / 0.9195 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002376/1.371, allocations: 382.8 kB / 0.9199 GB, free: 9.695 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005225/1.372, allocations: 329.8 kB / 0.9202 GB, free: 9.375 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006254/1.373, allocations: 452.7 kB / 0.9206 GB, free: 8.898 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/1.374, allocations: 0.8194 MB / 0.9214 GB, free: 8.039 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/1.374, allocations: 0 / 0.9214 GB, free: 8.039 MB / 0.6856 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001614/1.375, allocations: 0.9335 MB / 0.9223 GB, free: 7.098 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/1.375, allocations: 8 kB / 0.9223 GB, free: 7.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/1.375, allocations: 0 / 0.9223 GB, free: 7.09 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.961e-05/1.375, allocations: 8 kB / 0.9223 GB, free: 7.082 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007238/1.376, allocations: 160 kB / 0.9225 GB, free: 6.926 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.178e-05/1.376, allocations: 13.55 kB / 0.9225 GB, free: 6.914 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007887/1.377, allocations: 66.72 kB / 0.9226 GB, free: 6.852 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.506e-05/1.377, allocations: 24 kB / 0.9226 GB, free: 6.828 MB / 0.6856 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.0006158/1.378, allocations: 329.5 kB / 0.9229 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/1.378, allocations: 83.06 kB / 0.923 GB, free: 6.414 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002272/1.378, allocations: 103.8 kB / 0.9231 GB, free: 6.305 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/1.378, allocations: 11.94 kB / 0.9231 GB, free: 6.293 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.85e-05/1.378, allocations: 4 kB / 0.9231 GB, free: 6.289 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001511/1.38, allocations: 1.089 MB / 0.9242 GB, free: 5.117 MB / 0.6856 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.004033/1.384, allocations: 2.314 MB / 0.9264 GB, free: 2.711 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/1.384, allocations: 0 / 0.9264 GB, free: 2.711 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008394/1.385, allocations: 171.8 kB / 0.9266 GB, free: 2.543 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.35e-05/1.385, allocations: 4.031 kB / 0.9266 GB, free: 2.539 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-05/1.385, allocations: 23.98 kB / 0.9266 GB, free: 2.516 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.327e-06/1.385, allocations: 4 kB / 0.9266 GB, free: 2.512 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/1.385, allocations: 0 / 0.9266 GB, free: 2.512 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002232/1.387, allocations: 1.347 MB / 0.9279 GB, free: 1.141 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005149/1.387, allocations: 252 kB / 0.9282 GB, free: 0.875 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/1.388, allocations: 19.98 kB / 0.9282 GB, free: 0.8555 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006202/1.388, allocations: 24.88 kB / 0.9282 GB, free: 0.832 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/1.388, allocations: 44.59 kB / 0.9283 GB, free: 0.7891 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.518e-05/1.388, allocations: 31.97 kB / 0.9283 GB, free: 0.7578 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005802/1.389, allocations: 411.1 kB / 0.9287 GB, free: 372 kB / 0.6856 GB Notification: Performance of sort global known variables: time 4.01e-07/1.389, allocations: 0 / 0.9287 GB, free: 372 kB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001228/1.39, allocations: 375 kB / 0.929 GB, free: 15.99 MB / 0.7012 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.0004391/1.391, allocations: 170.2 kB / 0.9292 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001468/1.392, allocations: 0.8024 MB / 0.93 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/1.392, allocations: 4 kB / 0.93 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0006541/1.393, allocations: 423.6 kB / 0.9304 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/1.395, allocations: 0.599 MB / 0.931 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004164/1.4, allocations: 2.168 MB / 0.9331 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/1.401, allocations: 1.139 MB / 0.9342 GB, free: 10.65 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001096/1.402, allocations: 283.1 kB / 0.9345 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/1.402, allocations: 75.44 kB / 0.9346 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of SimCode: time 2.224e-06/1.402, allocations: 0 / 0.9346 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of Templates: time 0.03726/1.439, allocations: 19.05 MB / 0.9532 GB, free: 7.512 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.makefile (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)