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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.9549/0.9549, allocations: 143.4 MB / 159.2 MB, free: 4.852 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 184.5 kB / 191.9 MB, free: 5.707 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 447.3 MB, free: 5.836 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 103.5 kB / 0.517 GB, free: 3.684 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001962/0.001962, allocations: 281.5 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001673, allocations: 83.86 kB / 0.6885 GB, free: 3.848 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4166/0.4183, allocations: 81.3 MB / 0.7679 GB, free: 27.67 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.6655/1.084, allocations: 201.9 MB / 0.9651 GB, free: 15.74 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.009816/1.094, allocations: 6.409 MB / 0.9714 GB, free: 15.54 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001818/1.096, allocations: 29.88 kB / 0.9714 GB, free: 15.54 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001784/1.097, allocations: 0.6466 MB / 0.972 GB, free: 15.52 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.006519/1.104, allocations: 2.51 MB / 0.9745 GB, free: 15.06 MB / 0.573 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.001782/1.106, allocations: 0.6251 MB / 0.9751 GB, free: 14.78 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.005277/1.111, allocations: 4.835 MB / 0.9798 GB, free: 13.14 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001422/1.112, allocations: 0.9594 MB / 0.9807 GB, free: 12.6 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002386/1.115, allocations: 1.094 MB / 0.9818 GB, free: 12.09 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002423/1.117, allocations: 1.137 MB / 0.9829 GB, free: 11.58 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001582/1.117, allocations: 71 kB / 0.983 GB, free: 11.58 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005522/1.123, allocations: 2.728 MB / 0.9856 GB, free: 10.33 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0005486/1.124, allocations: 471.8 kB / 0.9861 GB, free: 10.04 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0008941/1.124, allocations: 0.68 MB / 0.9868 GB, free: 9.652 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.004713/1.129, allocations: 2.888 MB / 0.9896 GB, free: 8.02 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/1.129, allocations: 0 / 0.9896 GB, free: 8.02 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.323e-06/1.129, allocations: 0 / 0.9896 GB, free: 8.02 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.004e-05/1.129, allocations: 0 / 0.9896 GB, free: 8.02 MB / 0.573 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.003757/1.133, allocations: 1.761 MB / 0.9913 GB, free: 6.766 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/1.133, allocations: 13.88 kB / 0.9913 GB, free: 6.762 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001948/1.135, allocations: 343.6 kB / 0.9916 GB, free: 6.609 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/1.136, allocations: 0.8358 MB / 0.9925 GB, free: 5.973 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.122e-05/1.136, allocations: 75.91 kB / 0.9925 GB, free: 5.938 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/1.137, allocations: 100.8 kB / 0.9926 GB, free: 5.906 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00184/1.138, allocations: 1.186 MB / 0.9938 GB, free: 5.227 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/1.138, allocations: 4 kB / 0.9938 GB, free: 5.223 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/1.139, allocations: 41.84 kB / 0.9938 GB, free: 5.191 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.221e-05/1.139, allocations: 61.44 kB / 0.9939 GB, free: 5.176 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/1.14, allocations: 1.243 MB / 0.9951 GB, free: 4.539 MB / 0.573 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.005977/1.146, allocations: 5.051 MB / 1 GB, free: 15.09 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/1.148, allocations: 1.157 MB / 1.001 GB, free: 13.85 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006729/1.148, allocations: 0.5012 MB / 1.002 GB, free: 13.35 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.8e-05/1.149, allocations: 11.23 kB / 1.002 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000697/1.149, allocations: 487.1 kB / 1.002 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=76): time 3.106e-06/1.149, allocations: 0 / 1.002 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of matching and sorting (n=76): time 0.001828/1.151, allocations: 1.161 MB / 1.003 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/1.151, allocations: 64 kB / 1.003 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005858/1.152, allocations: 0.5666 MB / 1.004 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.578e-05/1.152, allocations: 41.7 kB / 1.004 GB, free: 11 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002872/1.152, allocations: 451.7 kB / 1.004 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.000222/1.152, allocations: 273.5 kB / 1.005 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/1.153, allocations: 130.7 kB / 1.005 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001454/1.153, allocations: 382.8 kB / 1.005 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004768/1.153, allocations: 333.8 kB / 1.005 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005449/1.154, allocations: 454.4 kB / 1.006 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/1.155, allocations: 0.8311 MB / 1.007 GB, free: 8.082 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.155, allocations: 0 / 1.007 GB, free: 8.082 MB / 0.5886 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001336/1.156, allocations: 0.9261 MB / 1.008 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/1.156, allocations: 11.98 kB / 1.008 GB, free: 7.137 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/1.156, allocations: 4 kB / 1.008 GB, free: 7.133 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/1.156, allocations: 4 kB / 1.008 GB, free: 7.129 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006731/1.157, allocations: 155.8 kB / 1.008 GB, free: 6.977 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/1.157, allocations: 7.938 kB / 1.008 GB, free: 6.969 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/1.158, allocations: 139.2 kB / 1.008 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.915e-05/1.158, allocations: 28 kB / 1.008 GB, free: 6.805 MB / 0.5886 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.0004571/1.158, allocations: 333.5 kB / 1.008 GB, free: 6.469 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/1.159, allocations: 79.16 kB / 1.008 GB, free: 6.391 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002335/1.159, allocations: 107.6 kB / 1.008 GB, free: 6.285 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/1.159, allocations: 4 kB / 1.008 GB, free: 6.281 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/1.159, allocations: 7.938 kB / 1.008 GB, free: 6.273 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001183/1.16, allocations: 1.081 MB / 1.009 GB, free: 5.105 MB / 0.5886 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.003085/1.163, allocations: 2.311 MB / 1.012 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/1.163, allocations: 8.031 kB / 1.012 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007902/1.164, allocations: 175.8 kB / 1.012 GB, free: 2.543 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/1.164, allocations: 4 kB / 1.012 GB, free: 2.539 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.76e-05/1.164, allocations: 20 kB / 1.012 GB, free: 2.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/1.164, allocations: 7.984 kB / 1.012 GB, free: 2.512 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/1.164, allocations: 0 / 1.012 GB, free: 2.512 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008466/1.173, allocations: 5.947 MB / 1.018 GB, free: 12.42 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004423/1.173, allocations: 255.9 kB / 1.018 GB, free: 12.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.741e-05/1.173, allocations: 20 kB / 1.018 GB, free: 12.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007618/1.174, allocations: 95.8 kB / 1.018 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.419e-05/1.174, allocations: 48.66 kB / 1.018 GB, free: 11.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.313e-05/1.174, allocations: 31.98 kB / 1.018 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000429/1.174, allocations: 407.1 kB / 1.019 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/1.174, allocations: 0 / 1.019 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002014/1.177, allocations: 0.5263 MB / 1.019 GB, free: 11.04 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * 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.0002737/1.177, allocations: 182 kB / 1.019 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001128/1.178, allocations: 0.8019 MB / 1.02 GB, free: 10.06 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.178, allocations: 0 / 1.02 GB, free: 10.06 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005176/1.178, allocations: 427.5 kB / 1.02 GB, free: 9.645 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00254/1.181, allocations: 0.5697 MB / 1.021 GB, free: 9.086 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003806/1.185, allocations: 3.062 MB / 1.024 GB, free: 5.977 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007418/1.186, allocations: 1.156 MB / 1.025 GB, free: 4.789 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001121/1.187, allocations: 279.1 kB / 1.025 GB, free: 4.512 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002661/1.187, allocations: 79.42 kB / 1.025 GB, free: 4.438 MB / 0.6042 GB Notification: Performance of SimCode: time 4.11e-07/1.187, allocations: 0 / 1.025 GB, free: 4.438 MB / 0.6042 GB Notification: Performance of Templates: time 0.03422/1.221, allocations: 20.49 MB / 1.045 GB, free: 192 kB / 0.6198 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)