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.007502/0.007502, allocations: 100.8 kB / 15.73 MB, free: 6.027 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.001213/0.001213, allocations: 187.2 kB / 16.67 MB, free: 5.965 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.703/1.703, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.006121/0.006121, allocations: 275 kB / 290.8 MB, free: 1.781 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 2.248/2.248, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 95.84 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2179, allocations: 86.98 MB / 0.7664 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.7507/0.9686, allocations: 204.2 MB / 0.9657 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01103/0.9796, allocations: 6.367 MB / 0.972 GB, free: 236 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002204/0.9819, allocations: 39.81 kB / 0.972 GB, free: 196 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002274/0.9842, allocations: 0.7265 MB / 0.9727 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.008048/0.9923, allocations: 2.685 MB / 0.9753 GB, free: 12.77 MB / 0.7325 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.002152/0.9945, allocations: 0.7034 MB / 0.976 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005086/0.9996, allocations: 3.274 MB / 0.9792 GB, free: 8.781 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001855/1.001, allocations: 1.14 MB / 0.9803 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00308/1.005, allocations: 1.261 MB / 0.9816 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002996/1.008, allocations: 1.105 MB / 0.9826 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003017/1.008, allocations: 128 kB / 0.9828 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006341/1.014, allocations: 2.354 MB / 0.9851 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0009685/1.015, allocations: 0.522 MB / 0.9856 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.00148/1.017, allocations: 0.7391 MB / 0.9863 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.006497/1.023, allocations: 2.801 MB / 0.989 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/1.023, allocations: 0 / 0.989 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.675e-06/1.023, allocations: 0 / 0.989 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.402e-05/1.023, allocations: 4 kB / 0.989 GB, free: 14.69 MB / 0.7481 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.004729/1.028, allocations: 1.765 MB / 0.9908 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/1.028, allocations: 12.03 kB / 0.9908 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00229/1.03, allocations: 346.2 kB / 0.9911 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/1.032, allocations: 0.874 MB / 0.9919 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.555e-05/1.032, allocations: 78 kB / 0.992 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/1.032, allocations: 96.56 kB / 0.9921 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002125/1.035, allocations: 1.202 MB / 0.9933 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/1.035, allocations: 0 / 0.9933 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/1.035, allocations: 40 kB / 0.9933 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.162e-05/1.035, allocations: 58.08 kB / 0.9934 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002002/1.037, allocations: 1.25 MB / 0.9946 GB, free: 8.844 MB / 0.7481 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.007031/1.044, allocations: 5.1 MB / 0.9996 GB, free: 3.285 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/1.045, allocations: 1.16 MB / 1.001 GB, free: 2.051 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007/1.046, allocations: 0.4973 MB / 1.001 GB, free: 1.551 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-05/1.046, allocations: 24.58 kB / 1.001 GB, free: 1.527 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007359/1.047, allocations: 484.2 kB / 1.002 GB, free: 1.043 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=76): time 2.494e-06/1.047, allocations: 0 / 1.002 GB, free: 1.043 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76): time 0.002031/1.049, allocations: 1.157 MB / 1.003 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/1.049, allocations: 64 kB / 1.003 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007023/1.05, allocations: 0.5782 MB / 1.003 GB, free: 15.21 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.285e-05/1.05, allocations: 41.7 kB / 1.003 GB, free: 15.16 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003318/1.05, allocations: 459.6 kB / 1.004 GB, free: 14.71 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002596/1.05, allocations: 268.1 kB / 1.004 GB, free: 14.45 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/1.051, allocations: 138.6 kB / 1.004 GB, free: 14.3 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002205/1.051, allocations: 382.8 kB / 1.005 GB, free: 13.92 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004591/1.051, allocations: 329.8 kB / 1.005 GB, free: 13.6 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005512/1.052, allocations: 448.8 kB / 1.005 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/1.053, allocations: 0.8233 MB / 1.006 GB, free: 12.26 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/1.053, allocations: 0 / 1.006 GB, free: 12.26 MB / 0.7637 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001383/1.054, allocations: 0.9375 MB / 1.007 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/1.054, allocations: 8 kB / 1.007 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/1.054, allocations: 0 / 1.007 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/1.054, allocations: 15.88 kB / 1.007 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000681/1.055, allocations: 151.8 kB / 1.007 GB, free: 11.14 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/1.055, allocations: 11.94 kB / 1.007 GB, free: 11.13 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006506/1.056, allocations: 63.36 kB / 1.007 GB, free: 11.07 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-05/1.056, allocations: 24 kB / 1.007 GB, free: 11.05 MB / 0.7637 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.0005152/1.056, allocations: 330.2 kB / 1.008 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/1.057, allocations: 83.05 kB / 1.008 GB, free: 10.63 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/1.057, allocations: 107.8 kB / 1.008 GB, free: 10.52 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/1.057, allocations: 11.94 kB / 1.008 GB, free: 10.51 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/1.057, allocations: 0 / 1.008 GB, free: 10.51 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001243/1.058, allocations: 1.097 MB / 1.009 GB, free: 9.332 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 postOpt removeSimpleEquations (simulation): time 0.003165/1.061, allocations: 2.307 MB / 1.011 GB, free: 6.938 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/1.061, allocations: 0 / 1.011 GB, free: 6.938 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008096/1.062, allocations: 171.8 kB / 1.011 GB, free: 6.77 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/1.062, allocations: 4 kB / 1.011 GB, free: 6.766 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.985e-05/1.062, allocations: 21.55 kB / 1.011 GB, free: 6.746 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/1.062, allocations: 4 kB / 1.011 GB, free: 6.742 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/1.062, allocations: 3.938 kB / 1.011 GB, free: 6.738 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/1.064, allocations: 1.363 MB / 1.013 GB, free: 5.352 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004075/1.064, allocations: 244 kB / 1.013 GB, free: 5.094 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/1.065, allocations: 20 kB / 1.013 GB, free: 5.074 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005817/1.065, allocations: 21.67 kB / 1.013 GB, free: 5.055 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.435e-05/1.065, allocations: 44.59 kB / 1.013 GB, free: 5.012 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.871e-05/1.065, allocations: 23.98 kB / 1.013 GB, free: 4.988 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0005183/1.066, allocations: 415.1 kB / 1.013 GB, free: 4.586 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3e-07/1.066, allocations: 4 kB / 1.013 GB, free: 4.582 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009528/1.067, allocations: 363.1 kB / 1.014 GB, free: 4.227 MB / 0.7637 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.0003075/1.067, allocations: 183 kB / 1.014 GB, free: 4.039 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001217/1.068, allocations: 0.8019 MB / 1.015 GB, free: 3.234 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/1.068, allocations: 4 kB / 1.015 GB, free: 3.23 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005392/1.069, allocations: 424.2 kB / 1.015 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00232/1.071, allocations: 0.5922 MB / 1.016 GB, free: 2.25 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003486/1.075, allocations: 2.179 MB / 1.018 GB, free: 36 kB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007632/1.075, allocations: 1.136 MB / 1.019 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0009314/1.076, allocations: 275.1 kB / 1.019 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002255/1.077, allocations: 79.36 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of SimCode: time 8.52e-07/1.077, allocations: 0 / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of Templates: time 0.0325/1.109, allocations: 19.51 MB / 1.038 GB, free: 11.27 MB / 0.795 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)