Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow") translateModel(IBPSA.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001186/0.001186, allocations: 92.97 kB / 16.67 MB, free: 6.109 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.001346/0.001347, allocations: 186 kB / 17.58 MB, free: 5.82 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.411/1.411, allocations: 223.3 MB / 241.6 MB, free: 180 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7519/0.7519, allocations: 115.5 MB / 408.2 MB, free: 7.109 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003517, allocations: 8 kB / 496.5 MB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5236/0.524, allocations: 77.51 MB / 0.5606 GB, free: 36.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.7073/1.231, allocations: 199.2 MB / 0.7551 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01126/1.243, allocations: 6.381 MB / 0.7614 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001905/1.245, allocations: 31.16 kB / 0.7614 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002369/1.247, allocations: 0.6472 MB / 0.762 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008945/1.256, allocations: 2.52 MB / 0.7645 GB, free: 1.879 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.002426/1.258, allocations: 0.6353 MB / 0.7651 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00812/1.267, allocations: 4.835 MB / 0.7698 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002031/1.269, allocations: 0.9198 MB / 0.7707 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003339/1.272, allocations: 1.046 MB / 0.7717 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003695/1.276, allocations: 1.1 MB / 0.7728 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002787/1.276, allocations: 55.69 kB / 0.7729 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008062/1.284, allocations: 2.717 MB / 0.7755 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001084/1.285, allocations: 444.8 kB / 0.7759 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00201/1.287, allocations: 0.6719 MB / 0.7766 GB, free: 17.65 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004222/1.291, allocations: 2.036 MB / 0.7786 GB, free: 17.52 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/1.291, allocations: 0 / 0.7786 GB, free: 17.52 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.618e-06/1.291, allocations: 0 / 0.7786 GB, free: 17.52 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.26e-05/1.292, allocations: 0 / 0.7786 GB, free: 17.52 MB / 0.5919 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.005229/1.297, allocations: 1.518 MB / 0.7801 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/1.297, allocations: 13.5 kB / 0.7801 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002707/1.3, allocations: 356 kB / 0.7804 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002084/1.302, allocations: 0.8423 MB / 0.7812 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.923e-05/1.302, allocations: 72.61 kB / 0.7813 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002467/1.302, allocations: 105.5 kB / 0.7814 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/1.304, allocations: 1.195 MB / 0.7826 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/1.304, allocations: 0 / 0.7826 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/1.305, allocations: 37.69 kB / 0.7826 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.972e-05/1.305, allocations: 63.23 kB / 0.7827 GB, free: 16.22 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/1.307, allocations: 1.248 MB / 0.7839 GB, free: 16.2 MB / 0.5919 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.006991/1.314, allocations: 5.078 MB / 0.7889 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/1.315, allocations: 1.169 MB / 0.79 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006446/1.316, allocations: 0.4992 MB / 0.7905 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.816e-05/1.316, allocations: 18.81 kB / 0.7905 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006772/1.316, allocations: 484 kB / 0.791 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.946e-06/1.316, allocations: 0 / 0.791 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.001932/1.318, allocations: 1.163 MB / 0.7921 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/1.318, allocations: 61.12 kB / 0.7922 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006947/1.319, allocations: 0.5796 MB / 0.7927 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.233e-05/1.319, allocations: 39.45 kB / 0.7928 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002982/1.319, allocations: 457.5 kB / 0.7932 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002541/1.32, allocations: 265 kB / 0.7935 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.48e-05/1.32, allocations: 69.3 kB / 0.7935 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001795/1.32, allocations: 389.9 kB / 0.7939 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004509/1.32, allocations: 336.3 kB / 0.7942 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005065/1.321, allocations: 445.5 kB / 0.7946 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/1.322, allocations: 0.824 MB / 0.7954 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/1.322, allocations: 0 / 0.7954 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001343/1.323, allocations: 0.9312 MB / 0.7963 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/1.323, allocations: 8.344 kB / 0.7964 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/1.323, allocations: 7.094 kB / 0.7964 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/1.324, allocations: 8.438 kB / 0.7964 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006546/1.324, allocations: 156.4 kB / 0.7965 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/1.324, allocations: 10.45 kB / 0.7965 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/1.325, allocations: 158.9 kB / 0.7967 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.021e-05/1.325, allocations: 27.45 kB / 0.7967 GB, free: 11.81 MB / 0.5919 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.0005638/1.326, allocations: 334.5 kB / 0.797 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/1.326, allocations: 81.08 kB / 0.7971 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002417/1.326, allocations: 106.1 kB / 0.7972 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.148e-06/1.326, allocations: 9.406 kB / 0.7972 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.395e-05/1.326, allocations: 0 / 0.7972 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001184/1.328, allocations: 1.096 MB / 0.7983 GB, free: 11.18 MB / 0.5919 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.003636/1.331, allocations: 2.308 MB / 0.8005 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/1.331, allocations: 1.875 kB / 0.8005 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007943/1.332, allocations: 174.4 kB / 0.8007 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.195e-05/1.332, allocations: 2.844 kB / 0.8007 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-05/1.332, allocations: 24.59 kB / 0.8007 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/1.332, allocations: 2.938 kB / 0.8007 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.332, allocations: 3.531 kB / 0.8007 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/1.334, allocations: 1.346 MB / 0.8021 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005831/1.335, allocations: 253.3 kB / 0.8023 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/1.335, allocations: 21.27 kB / 0.8023 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/1.336, allocations: 105.7 kB / 0.8024 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.66e-05/1.336, allocations: 50.08 kB / 0.8025 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.962e-05/1.336, allocations: 28.09 kB / 0.8025 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005516/1.337, allocations: 410.7 kB / 0.8029 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/1.337, allocations: 4.859 kB / 0.8029 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00128/1.338, allocations: 362.3 kB / 0.8032 GB, free: 10.14 MB / 0.5919 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.0003393/1.338, allocations: 178.9 kB / 0.8034 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001346/1.34, allocations: 0.7955 MB / 0.8042 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/1.34, allocations: 3.812 kB / 0.8042 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006004/1.34, allocations: 431.2 kB / 0.8046 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003034/1.343, allocations: 0.566 MB / 0.8051 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004477/1.348, allocations: 2.814 MB / 0.8079 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009029/1.349, allocations: 1.137 MB / 0.809 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003408/1.349, allocations: 84.02 kB / 0.8091 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of SimCode: time 7.81e-07/1.349, allocations: 0 / 0.8091 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of Templates: time 0.02788/1.377, allocations: 15.6 MB / 0.8243 GB, free: 15.39 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)