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.001196/0.001196, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001206/0.001206, allocations: 187 kB / 17.34 MB, free: 5.719 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002257/0.002258, allocations: 288.4 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.011/1.011, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 99.84 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5634/0.5654, allocations: 86.98 MB / 0.767 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.8667/1.432, allocations: 204.1 MB / 0.9664 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01155/1.444, allocations: 6.374 MB / 0.9726 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00216/1.446, allocations: 37.47 kB / 0.9726 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002141/1.448, allocations: 0.7721 MB / 0.9734 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008247/1.456, allocations: 2.759 MB / 0.9761 GB, free: 1.648 MB / 0.7169 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.002492/1.459, allocations: 0.7148 MB / 0.9768 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005015/1.464, allocations: 3.282 MB / 0.98 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001734/1.466, allocations: 1.136 MB / 0.9811 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003428/1.469, allocations: 1.294 MB / 0.9824 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003546/1.473, allocations: 1.094 MB / 0.9834 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003256/1.473, allocations: 129.9 kB / 0.9836 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006428/1.479, allocations: 2.363 MB / 0.9859 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008103/1.48, allocations: 0.5101 MB / 0.9864 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001554/1.482, allocations: 0.7435 MB / 0.9871 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006246/1.488, allocations: 2.793 MB / 0.9898 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.488, allocations: 0 / 0.9898 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.326e-06/1.488, allocations: 0 / 0.9898 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.135e-05/1.488, allocations: 2.266 kB / 0.9898 GB, free: 1.34 MB / 0.7169 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.004574/1.493, allocations: 1.768 MB / 0.9916 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/1.493, allocations: 9.062 kB / 0.9916 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002265/1.495, allocations: 355.9 kB / 0.9919 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001496/1.497, allocations: 0.8731 MB / 0.9928 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.667e-05/1.497, allocations: 77.62 kB / 0.9928 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/1.497, allocations: 99.47 kB / 0.9929 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001939/1.499, allocations: 1.197 MB / 0.9941 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/1.499, allocations: 0 / 0.9941 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/1.499, allocations: 42.03 kB / 0.9941 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-05/1.499, allocations: 60.52 kB / 0.9942 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001824/1.501, allocations: 1.245 MB / 0.9954 GB, free: 16.03 MB / 0.7325 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.00658/1.507, allocations: 5.109 MB / 1 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/1.509, allocations: 1.155 MB / 1.002 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000679/1.51, allocations: 0.5063 MB / 1.002 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.295e-05/1.51, allocations: 14.39 kB / 1.002 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007174/1.51, allocations: 489.6 kB / 1.002 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 3.427e-06/1.51, allocations: 1.094 kB / 1.002 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.001927/1.512, allocations: 1.152 MB / 1.004 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/1.512, allocations: 63.91 kB / 1.004 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007004/1.513, allocations: 0.5831 MB / 1.004 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.965e-05/1.513, allocations: 46.17 kB / 1.004 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003163/1.513, allocations: 460.4 kB / 1.005 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002758/1.514, allocations: 271.5 kB / 1.005 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002152/1.514, allocations: 131.1 kB / 1.005 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001914/1.514, allocations: 384.5 kB / 1.005 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004558/1.515, allocations: 333.7 kB / 1.006 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005566/1.515, allocations: 447.5 kB / 1.006 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/1.516, allocations: 0.8232 MB / 1.007 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/1.516, allocations: 3.188 kB / 1.007 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001471/1.518, allocations: 0.9294 MB / 1.008 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/1.518, allocations: 6.844 kB / 1.008 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/1.518, allocations: 4.344 kB / 1.008 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/1.518, allocations: 8.438 kB / 1.008 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006755/1.519, allocations: 156.6 kB / 1.008 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/1.519, allocations: 8.812 kB / 1.008 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008291/1.519, allocations: 59.12 kB / 1.008 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-05/1.519, allocations: 27.52 kB / 1.008 GB, free: 11.68 MB / 0.7325 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.0006486/1.52, allocations: 330.5 kB / 1.009 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/1.52, allocations: 81.56 kB / 1.009 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/1.521, allocations: 111.3 kB / 1.009 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/1.521, allocations: 8.094 kB / 1.009 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.306e-05/1.521, allocations: 3.938 kB / 1.009 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001203/1.522, allocations: 1.094 MB / 1.01 GB, free: 11.06 MB / 0.7325 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.00316/1.525, allocations: 2.307 MB / 1.012 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/1.525, allocations: 2.109 kB / 1.012 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007975/1.526, allocations: 174.6 kB / 1.012 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/1.526, allocations: 4.25 kB / 1.012 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.087e-05/1.526, allocations: 17.58 kB / 1.012 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/1.526, allocations: 6.281 kB / 1.012 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/1.526, allocations: 6.609 kB / 1.012 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/1.528, allocations: 1.354 MB / 1.014 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004121/1.528, allocations: 249 kB / 1.014 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/1.528, allocations: 20.34 kB / 1.014 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006265/1.529, allocations: 25.39 kB / 1.014 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.548e-05/1.529, allocations: 43 kB / 1.014 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.166e-05/1.529, allocations: 28.77 kB / 1.014 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005033/1.529, allocations: 413 kB / 1.014 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/1.529, allocations: 0.8438 kB / 1.014 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001081/1.531, allocations: 366.5 kB / 1.015 GB, free: 10.05 MB / 0.7325 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.0003227/1.531, allocations: 174.1 kB / 1.015 GB, free: 9.957 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001243/1.532, allocations: 0.8021 MB / 1.016 GB, free: 9.945 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.532, allocations: 2.656 kB / 1.016 GB, free: 9.945 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005292/1.533, allocations: 433.2 kB / 1.016 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00257/1.535, allocations: 0.5952 MB / 1.017 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/1.539, allocations: 2.246 MB / 1.019 GB, free: 8.98 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/1.54, allocations: 1.142 MB / 1.02 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004286/1.541, allocations: 80.11 kB / 1.02 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of SimCode: time 2.585e-06/1.541, allocations: 0 / 1.02 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of Templates: time 0.03168/1.572, allocations: 15.84 MB / 1.035 GB, free: 2.367 MB / 0.7325 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)