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.001264/0.001265, allocations: 103.3 kB / 16.64 MB, free: 6.828 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.001281/0.001282, allocations: 193.9 kB / 17.57 MB, free: 5.934 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.491/1.491, allocations: 222.9 MB / 241.2 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8069/0.8069, allocations: 122.9 MB / 414.2 MB, free: 15.97 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 67.91 kB / 0.4912 GB, free: 7.844 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.3907, allocations: 77.91 MB / 0.5673 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.6506/1.041, allocations: 201.5 MB / 0.7641 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01052/1.052, allocations: 6.339 MB / 0.7703 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001958/1.054, allocations: 32.56 kB / 0.7704 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002212/1.056, allocations: 0.6616 MB / 0.771 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007622/1.064, allocations: 2.519 MB / 0.7735 GB, free: 1.699 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.002104/1.066, allocations: 0.6428 MB / 0.7741 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005111/1.071, allocations: 3.272 MB / 0.7773 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001924/1.073, allocations: 1.117 MB / 0.7784 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003393/1.077, allocations: 1.256 MB / 0.7796 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003305/1.08, allocations: 1.174 MB / 0.7808 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002897/1.08, allocations: 127.4 kB / 0.7809 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005474/1.086, allocations: 2.474 MB / 0.7833 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007384/1.086, allocations: 0.5123 MB / 0.7838 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001545/1.088, allocations: 0.7426 MB / 0.7845 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003533/1.091, allocations: 2.087 MB / 0.7866 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/1.091, allocations: 4.375 kB / 0.7866 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.493e-06/1.092, allocations: 0 / 0.7866 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.846e-05/1.092, allocations: 0 / 0.7866 GB, free: 1.387 MB / 0.5762 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.00428/1.096, allocations: 1.766 MB / 0.7883 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/1.096, allocations: 11.28 kB / 0.7883 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002234/1.098, allocations: 350.7 kB / 0.7886 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/1.099, allocations: 0.8441 MB / 0.7895 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.995e-05/1.1, allocations: 73.88 kB / 0.7895 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/1.1, allocations: 105.1 kB / 0.7896 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001995/1.102, allocations: 1.19 MB / 0.7908 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/1.102, allocations: 0 / 0.7908 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/1.102, allocations: 42.53 kB / 0.7908 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.516e-05/1.102, allocations: 59.17 kB / 0.7909 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001747/1.104, allocations: 1.257 MB / 0.7921 GB, free: 16.06 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.006916/1.111, allocations: 5.064 MB / 0.7971 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/1.112, allocations: 1.159 MB / 0.7982 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000681/1.113, allocations: 0.5028 MB / 0.7987 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.152e-05/1.113, allocations: 12.45 kB / 0.7987 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007536/1.114, allocations: 492.5 kB / 0.7992 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 3.356e-06/1.114, allocations: 2.109 kB / 0.7992 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.002041/1.116, allocations: 1.156 MB / 0.8003 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/1.116, allocations: 60.19 kB / 0.8004 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008248/1.117, allocations: 0.5776 MB / 0.8009 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.238e-05/1.117, allocations: 44.14 kB / 0.801 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003971/1.117, allocations: 459.2 kB / 0.8014 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003015/1.117, allocations: 271.2 kB / 0.8017 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002243/1.118, allocations: 135 kB / 0.8018 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001964/1.118, allocations: 380.6 kB / 0.8021 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004351/1.118, allocations: 330.5 kB / 0.8025 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005599/1.119, allocations: 451.4 kB / 0.8029 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/1.12, allocations: 0.8244 MB / 0.8037 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/1.12, allocations: 0 / 0.8037 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001411/1.121, allocations: 0.9311 MB / 0.8046 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/1.121, allocations: 10.81 kB / 0.8046 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/1.121, allocations: 8.281 kB / 0.8046 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/1.121, allocations: 5.844 kB / 0.8046 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006581/1.122, allocations: 157.2 kB / 0.8048 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/1.122, allocations: 7.5 kB / 0.8048 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/1.123, allocations: 160.3 kB / 0.8049 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.466e-05/1.123, allocations: 25.53 kB / 0.805 GB, free: 11.71 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.0006431/1.124, allocations: 331.2 kB / 0.8053 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/1.124, allocations: 85.28 kB / 0.8054 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/1.124, allocations: 107.2 kB / 0.8055 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/1.124, allocations: 11.47 kB / 0.8055 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-05/1.124, allocations: 0.5625 kB / 0.8055 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001391/1.126, allocations: 1.09 MB / 0.8065 GB, free: 11.09 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.003461/1.129, allocations: 2.311 MB / 0.8088 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/1.129, allocations: 0.6562 kB / 0.8088 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000807/1.13, allocations: 174.8 kB / 0.809 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/1.13, allocations: 7.5 kB / 0.809 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.966e-05/1.13, allocations: 24.09 kB / 0.809 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/1.13, allocations: 1.938 kB / 0.809 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.13, allocations: 0.9062 kB / 0.809 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001943/1.132, allocations: 1.353 MB / 0.8103 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004739/1.133, allocations: 253.8 kB / 0.8106 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/1.133, allocations: 18.62 kB / 0.8106 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008624/1.134, allocations: 101.4 kB / 0.8107 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.241e-05/1.134, allocations: 44.64 kB / 0.8107 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-05/1.134, allocations: 27.59 kB / 0.8107 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004894/1.134, allocations: 412.7 kB / 0.8111 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.5e-07/1.134, allocations: 0 / 0.8111 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001021/1.135, allocations: 366 kB / 0.8115 GB, free: 10.07 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.0003246/1.136, allocations: 191.5 kB / 0.8117 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001749/1.137, allocations: 1.034 MB / 0.8127 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/1.137, allocations: 0 / 0.8127 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005162/1.138, allocations: 428.4 kB / 0.8131 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002537/1.141, allocations: 0.5852 MB / 0.8137 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004105/1.145, allocations: 2.709 MB / 0.8163 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000832/1.146, allocations: 1.138 MB / 0.8174 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003178/1.146, allocations: 79.73 kB / 0.8175 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of SimCode: time 1.032e-06/1.146, allocations: 0 / 0.8175 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of Templates: time 0.026/1.172, allocations: 15.75 MB / 0.8329 GB, free: 11.98 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)