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.001359/0.001359, allocations: 103 kB / 16.41 MB, free: 6.512 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.001674/0.001674, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002315/0.002315, allocations: 288.6 kB / 291.5 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 0.9735/0.9735, allocations: 169.3 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 103.8 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5077/0.5098, allocations: 86.98 MB / 0.767 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.7083/1.218, allocations: 204.1 MB / 0.9664 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009879/1.228, allocations: 6.375 MB / 0.9726 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00176/1.23, allocations: 40.19 kB / 0.9727 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001878/1.232, allocations: 0.7346 MB / 0.9734 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006944/1.239, allocations: 2.676 MB / 0.976 GB, free: 1.664 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.002014/1.241, allocations: 0.7047 MB / 0.9767 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004654/1.245, allocations: 3.275 MB / 0.9799 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001677/1.247, allocations: 1.136 MB / 0.981 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002822/1.25, allocations: 1.268 MB / 0.9822 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002593/1.253, allocations: 1.101 MB / 0.9833 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002634/1.253, allocations: 128.2 kB / 0.9834 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005027/1.258, allocations: 2.355 MB / 0.9857 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007009/1.259, allocations: 0.5187 MB / 0.9862 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001263/1.26, allocations: 0.7369 MB / 0.9869 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005349/1.265, allocations: 2.794 MB / 0.9897 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/1.265, allocations: 0 / 0.9897 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.775e-06/1.265, allocations: 0.75 kB / 0.9897 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.55e-05/1.265, allocations: 0 / 0.9897 GB, free: 1.355 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.004145/1.269, allocations: 1.771 MB / 0.9914 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/1.27, allocations: 7.688 kB / 0.9914 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002157/1.272, allocations: 353.6 kB / 0.9917 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/1.273, allocations: 0.8697 MB / 0.9926 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.942e-05/1.273, allocations: 76.02 kB / 0.9927 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/1.273, allocations: 107.6 kB / 0.9928 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/1.275, allocations: 1.188 MB / 0.9939 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/1.275, allocations: 0 / 0.9939 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/1.275, allocations: 44.12 kB / 0.994 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.717e-05/1.275, allocations: 65.92 kB / 0.994 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/1.277, allocations: 1.243 MB / 0.9952 GB, free: 16.05 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.005736/1.283, allocations: 5.106 MB / 1 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/1.284, allocations: 1.159 MB / 1.001 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006034/1.285, allocations: 0.5064 MB / 1.002 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.006e-05/1.285, allocations: 16.88 kB / 1.002 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006342/1.285, allocations: 488 kB / 1.002 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 4.89e-06/1.285, allocations: 0.9062 kB / 1.002 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.001729/1.287, allocations: 1.16 MB / 1.003 GB, free: 13 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/1.287, allocations: 63.97 kB / 1.004 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006609/1.288, allocations: 0.576 MB / 1.004 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.906e-05/1.288, allocations: 40.64 kB / 1.004 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002696/1.288, allocations: 458 kB / 1.005 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002288/1.288, allocations: 271.6 kB / 1.005 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002101/1.289, allocations: 131.2 kB / 1.005 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001789/1.289, allocations: 391.9 kB / 1.005 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004085/1.289, allocations: 329.5 kB / 1.006 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004701/1.29, allocations: 445.2 kB / 1.006 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009446/1.291, allocations: 0.8266 MB / 1.007 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.291, allocations: 0 / 1.007 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001278/1.292, allocations: 0.9287 MB / 1.008 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/1.292, allocations: 6.234 kB / 1.008 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/1.292, allocations: 6.094 kB / 1.008 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/1.292, allocations: 9.266 kB / 1.008 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006514/1.293, allocations: 155.8 kB / 1.008 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/1.293, allocations: 11.03 kB / 1.008 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007478/1.293, allocations: 63.53 kB / 1.008 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-05/1.293, allocations: 27.59 kB / 1.008 GB, free: 11.7 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.0005249/1.294, allocations: 328.7 kB / 1.008 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/1.294, allocations: 83.34 kB / 1.008 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/1.294, allocations: 106.8 kB / 1.009 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/1.294, allocations: 6.438 kB / 1.009 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.66e-05/1.294, allocations: 8.438 kB / 1.009 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001169/1.296, allocations: 1.093 MB / 1.01 GB, free: 11.08 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.002832/1.298, allocations: 2.312 MB / 1.012 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/1.298, allocations: 0 / 1.012 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007875/1.299, allocations: 169 kB / 1.012 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/1.299, allocations: 6.281 kB / 1.012 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.805e-05/1.299, allocations: 22.69 kB / 1.012 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/1.299, allocations: 2.406 kB / 1.012 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.299, allocations: 4.125 kB / 1.012 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/1.301, allocations: 1.353 MB / 1.013 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003595/1.301, allocations: 249.8 kB / 1.014 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/1.301, allocations: 18.84 kB / 1.014 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006078/1.302, allocations: 22.27 kB / 1.014 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.045e-05/1.302, allocations: 52.84 kB / 1.014 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.957e-05/1.302, allocations: 24.28 kB / 1.014 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004413/1.303, allocations: 416.4 kB / 1.014 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.11e-07/1.303, allocations: 0 / 1.014 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009042/1.304, allocations: 360.8 kB / 1.014 GB, free: 10.07 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.0003075/1.304, allocations: 184.5 kB / 1.015 GB, free: 9.977 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001066/1.305, allocations: 0.8045 MB / 1.015 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/1.305, allocations: 0 / 1.015 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004805/1.305, allocations: 429.6 kB / 1.016 GB, free: 9.961 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/1.308, allocations: 0.591 MB / 1.016 GB, free: 9.879 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003452/1.312, allocations: 2.24 MB / 1.019 GB, free: 9.012 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007425/1.312, allocations: 1.14 MB / 1.02 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003544/1.313, allocations: 80.02 kB / 1.02 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of SimCode: time 8.02e-07/1.313, allocations: 0 / 1.02 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of Templates: time 0.02633/1.339, allocations: 15.85 MB / 1.035 GB, free: 2.422 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)