Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow") translateModel(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.006096/0.006096, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001157/0.001157, allocations: 190.9 kB / 16.67 MB, free: 5.977 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.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8354/0.8354, allocations: 132.2 MB / 422.7 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 71.25 kB / 0.5813 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2113, allocations: 80.21 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.7655/0.9769, allocations: 204.1 MB / 0.859 GB, free: 7.945 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01144/0.9884, allocations: 6.355 MB / 0.8652 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001633/0.99, allocations: 36.66 kB / 0.8653 GB, free: 2.75 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001992/0.992, allocations: 0.7666 MB / 0.866 GB, free: 2.137 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007751/0.9999, allocations: 2.765 MB / 0.8687 GB, free: 15.78 MB / 0.6387 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.001897/1.002, allocations: 0.7108 MB / 0.8694 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004038/1.006, allocations: 3.278 MB / 0.8726 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001357/1.007, allocations: 1.15 MB / 0.8737 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002191/1.009, allocations: 1.296 MB / 0.875 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001891/1.011, allocations: 1.091 MB / 0.8761 GB, free: 8.23 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001645/1.011, allocations: 128 kB / 0.8762 GB, free: 8.105 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005033/1.017, allocations: 2.362 MB / 0.8785 GB, free: 5.738 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005736/1.017, allocations: 0.5143 MB / 0.879 GB, free: 5.223 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008536/1.018, allocations: 0.7391 MB / 0.8797 GB, free: 4.48 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004192/1.022, allocations: 2.797 MB / 0.8824 GB, free: 1.676 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/1.022, allocations: 4 kB / 0.8825 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.733e-06/1.022, allocations: 0 / 0.8825 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.501e-05/1.022, allocations: 0 / 0.8825 GB, free: 1.672 MB / 0.6387 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.004067/1.026, allocations: 1.779 MB / 0.8842 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/1.026, allocations: 8.031 kB / 0.8842 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002201/1.029, allocations: 342.2 kB / 0.8845 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/1.03, allocations: 0.8856 MB / 0.8854 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.898e-05/1.03, allocations: 70.02 kB / 0.8855 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/1.03, allocations: 100 kB / 0.8856 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/1.032, allocations: 1.191 MB / 0.8867 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/1.032, allocations: 0 / 0.8867 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/1.032, allocations: 40 kB / 0.8868 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.783e-05/1.033, allocations: 62.06 kB / 0.8868 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001943/1.034, allocations: 1.253 MB / 0.888 GB, free: 11.81 MB / 0.6544 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.00671/1.041, allocations: 5.077 MB / 0.893 GB, free: 6.277 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/1.043, allocations: 1.158 MB / 0.8941 GB, free: 5.035 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007001/1.043, allocations: 0.5051 MB / 0.8946 GB, free: 4.523 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.883e-05/1.043, allocations: 8.812 kB / 0.8946 GB, free: 4.516 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006976/1.044, allocations: 0.4923 MB / 0.8951 GB, free: 4.008 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 2.344e-06/1.044, allocations: 0 / 0.8951 GB, free: 4.008 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.001837/1.046, allocations: 1.153 MB / 0.8962 GB, free: 2.848 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/1.046, allocations: 60.06 kB / 0.8963 GB, free: 2.777 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006685/1.047, allocations: 0.5783 MB / 0.8969 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.303e-05/1.047, allocations: 37.7 kB / 0.8969 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003371/1.047, allocations: 463.6 kB / 0.8973 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002498/1.047, allocations: 268.1 kB / 0.8976 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/1.048, allocations: 134.6 kB / 0.8977 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001919/1.048, allocations: 382.8 kB / 0.8981 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004612/1.048, allocations: 333.8 kB / 0.8984 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005545/1.049, allocations: 458.5 kB / 0.8988 GB, free: 84 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/1.05, allocations: 0.8234 MB / 0.8996 GB, free: 15.22 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/1.05, allocations: 4 kB / 0.8996 GB, free: 15.21 MB / 0.67 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001275/1.051, allocations: 0.9257 MB / 0.9005 GB, free: 14.28 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/1.051, allocations: 11.94 kB / 0.9006 GB, free: 14.27 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/1.051, allocations: 4.5 kB / 0.9006 GB, free: 14.27 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/1.051, allocations: 4 kB / 0.9006 GB, free: 14.26 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006737/1.052, allocations: 151.8 kB / 0.9007 GB, free: 14.11 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/1.052, allocations: 7.984 kB / 0.9007 GB, free: 14.11 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007154/1.053, allocations: 60.59 kB / 0.9008 GB, free: 14.05 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.096e-05/1.053, allocations: 35.77 kB / 0.9008 GB, free: 14.02 MB / 0.67 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.0004403/1.053, allocations: 325.6 kB / 0.9011 GB, free: 13.69 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/1.053, allocations: 91 kB / 0.9012 GB, free: 13.6 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/1.054, allocations: 103.8 kB / 0.9013 GB, free: 13.48 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/1.054, allocations: 8 kB / 0.9013 GB, free: 13.48 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/1.054, allocations: 3.984 kB / 0.9013 GB, free: 13.47 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00127/1.055, allocations: 1.081 MB / 0.9024 GB, free: 12.3 MB / 0.67 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.003443/1.058, allocations: 2.307 MB / 0.9046 GB, free: 9.91 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/1.058, allocations: 1.125 kB / 0.9046 GB, free: 9.91 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000818/1.059, allocations: 175.8 kB / 0.9048 GB, free: 9.738 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.846e-06/1.059, allocations: 4 kB / 0.9048 GB, free: 9.734 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.014e-05/1.059, allocations: 19.98 kB / 0.9048 GB, free: 9.715 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/1.059, allocations: 4 kB / 0.9048 GB, free: 9.711 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.059, allocations: 4.031 kB / 0.9048 GB, free: 9.707 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002121/1.061, allocations: 1.488 MB / 0.9063 GB, free: 8.199 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003258/1.062, allocations: 256.2 kB / 0.9065 GB, free: 7.93 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/1.062, allocations: 16 kB / 0.9065 GB, free: 7.914 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005922/1.062, allocations: 23.89 kB / 0.9066 GB, free: 7.891 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.044e-05/1.063, allocations: 44.59 kB / 0.9066 GB, free: 7.848 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.335e-05/1.063, allocations: 31.94 kB / 0.9066 GB, free: 7.816 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004689/1.063, allocations: 419 kB / 0.907 GB, free: 7.414 MB / 0.67 GB Notification: Performance of sort global known variables: time 2e-07/1.063, allocations: 3.938 kB / 0.907 GB, free: 7.41 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009871/1.064, allocations: 367.1 kB / 0.9074 GB, free: 7.051 MB / 0.67 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.0003104/1.064, allocations: 171.1 kB / 0.9076 GB, free: 6.875 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001305/1.066, allocations: 0.8058 MB / 0.9083 GB, free: 6.07 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.066, allocations: 0 / 0.9083 GB, free: 6.07 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005596/1.066, allocations: 428.2 kB / 0.9087 GB, free: 5.648 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00248/1.069, allocations: 0.5852 MB / 0.9093 GB, free: 5.094 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003814/1.073, allocations: 2.16 MB / 0.9114 GB, free: 2.898 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008582/1.073, allocations: 1.14 MB / 0.9125 GB, free: 1.734 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008392/1.074, allocations: 271.1 kB / 0.9128 GB, free: 1.465 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003065/1.075, allocations: 79.42 kB / 0.9129 GB, free: 1.387 MB / 0.67 GB Notification: Performance of SimCode: time 4.1e-07/1.075, allocations: 4 kB / 0.9129 GB, free: 1.383 MB / 0.67 GB Notification: Performance of Templates: time 0.03117/1.106, allocations: 19.3 MB / 0.9317 GB, free: 14.32 MB / 0.7012 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)