Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 183.1 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4843/0.4843, allocations: 91.99 MB / 108.5 MB, free: 13.06 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 223.2 MB / 354.3 MB, free: 12.2 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 104.2 kB / 427.4 MB, free: 3.891 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003415/0.0003415, allocations: 12 kB / 0.4982 GB, free: 42.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1541, allocations: 72.32 MB / 0.5689 GB, free: 1.926 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.18/1.334, allocations: 374.1 MB / 0.9342 GB, free: 92.76 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/1.335, allocations: 96.95 kB / 0.9343 GB, free: 92.71 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 11.88/13.21, allocations: 2.806 GB / 3.74 GB, free: 27.29 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.844e-06/13.21, allocations: 0 / 3.74 GB, free: 27.29 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0008949/13.21, allocations: 173.8 kB / 3.741 GB, free: 27.25 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.02351/13.24, allocations: 7.161 MB / 3.748 GB, free: 23.66 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/13.24, allocations: 10 kB / 3.748 GB, free: 23.66 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004381/13.24, allocations: 0.7811 MB / 3.748 GB, free: 23.29 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1309/13.37, allocations: 60.97 MB / 3.808 GB, free: 17.63 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006455/13.37, allocations: 313.9 kB / 3.808 GB, free: 17.49 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001955/13.37, allocations: 430.9 kB / 3.809 GB, free: 17.35 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01565/13.39, allocations: 4.271 MB / 3.813 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003476/13.39, allocations: 11.72 kB / 3.813 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001621/13.39, allocations: 172.8 kB / 3.813 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001766/13.39, allocations: 127.5 kB / 3.813 GB, free: 15 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008905/13.4, allocations: 2.899 MB / 3.816 GB, free: 13.38 MB / 0.7448 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.04217/13.44, allocations: 24.05 MB / 3.839 GB, free: 5.453 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005611/13.45, allocations: 2.959 MB / 3.842 GB, free: 2.285 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004792/13.45, allocations: 3.939 MB / 3.846 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001259/13.45, allocations: 68.56 kB / 3.846 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=225): time 8.546e-06/13.45, allocations: 0 / 3.846 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of matching and sorting (n=225): time 0.01409/13.47, allocations: 4.085 MB / 3.85 GB, free: 9.242 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.758e-05/13.47, allocations: 81.41 kB / 3.85 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0129/13.48, allocations: 3.69 MB / 3.854 GB, free: 5.488 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.000836/13.48, allocations: 77.7 kB / 3.854 GB, free: 5.406 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.003628/13.49, allocations: 2.782 MB / 3.857 GB, free: 2.598 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.00158/13.49, allocations: 0.7816 MB / 3.857 GB, free: 1.805 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004156/13.49, allocations: 67.88 kB / 3.857 GB, free: 1.738 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003381/13.49, allocations: 407.4 kB / 3.858 GB, free: 1.336 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002086/13.49, allocations: 0.8017 MB / 3.859 GB, free: 0.5312 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.7153/14.2, allocations: 1.794 MB / 3.86 GB, free: 56.48 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002384/14.21, allocations: 1.096 MB / 3.861 GB, free: 56.46 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.82e-05/14.21, allocations: 6.344 kB / 3.861 GB, free: 56.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.008078/14.22, allocations: 3.343 MB / 3.865 GB, free: 56.36 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.002383/14.22, allocations: 10.37 MB / 3.875 GB, free: 45.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.969e-05/14.22, allocations: 21.75 kB / 3.875 GB, free: 45.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/14.22, allocations: 401.6 kB / 3.875 GB, free: 45.56 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002387/14.22, allocations: 0.529 MB / 3.876 GB, free: 45.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002157/14.22, allocations: 2.682 MB / 3.878 GB, free: 43.49 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00722/14.23, allocations: 0.5553 MB / 3.879 GB, free: 43.49 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006039/14.23, allocations: 133 kB / 3.879 GB, free: 43.49 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/14.23, allocations: 1.75 kB / 3.879 GB, free: 43.49 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005741/14.24, allocations: 2.814 MB / 3.882 GB, free: 43.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-05/14.24, allocations: 22.34 kB / 3.882 GB, free: 43.39 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009342/14.24, allocations: 374.2 kB / 3.882 GB, free: 43.36 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/14.24, allocations: 0.5267 MB / 3.883 GB, free: 43.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008563/14.25, allocations: 7.804 MB / 3.89 GB, free: 37.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006501/14.26, allocations: 0.5121 MB / 3.891 GB, free: 37.83 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007407/14.26, allocations: 129.5 kB / 3.891 GB, free: 37.83 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (299): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.00382/14.26, allocations: 0.9982 MB / 3.892 GB, free: 37.64 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002119/14.26, allocations: 0.5074 MB / 3.892 GB, free: 37.39 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008052/14.27, allocations: 3.796 MB / 3.896 GB, free: 37.11 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.497e-05/14.27, allocations: 36.73 kB / 3.896 GB, free: 37.11 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/14.27, allocations: 0 / 3.896 GB, free: 37.11 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004415/14.27, allocations: 2.605 MB / 3.899 GB, free: 36.91 MB / 0.7761 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.0196/14.29, allocations: 8.576 MB / 3.907 GB, free: 35.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/14.29, allocations: 3.031 kB / 3.907 GB, free: 35.4 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001473/14.3, allocations: 385.8 kB / 3.907 GB, free: 35.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006901/14.3, allocations: 308.1 kB / 3.908 GB, free: 35.37 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001572/14.3, allocations: 64.23 kB / 3.908 GB, free: 35.37 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001654/14.3, allocations: 2.499 MB / 3.91 GB, free: 33.28 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/14.3, allocations: 2.656 kB / 3.91 GB, free: 33.28 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008901/14.31, allocations: 4.748 MB / 3.915 GB, free: 32.52 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004496/14.31, allocations: 0.9958 MB / 3.916 GB, free: 32.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001367/14.31, allocations: 47.98 kB / 3.916 GB, free: 32.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004265/14.32, allocations: 449.3 kB / 3.916 GB, free: 32.12 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002643/14.32, allocations: 147.4 kB / 3.916 GB, free: 32.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002457/14.32, allocations: 114.5 kB / 3.917 GB, free: 32.12 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.005619/14.32, allocations: 2.819 MB / 3.919 GB, free: 31.94 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.21e-07/14.32, allocations: 0 / 3.919 GB, free: 31.94 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.01862/14.34, allocations: 3.604 MB / 3.923 GB, free: 31.76 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.00781/14.35, allocations: 3.43 MB / 3.926 GB, free: 30.57 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.008967/14.36, allocations: 4.434 MB / 3.93 GB, free: 30.01 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.544e-05/14.36, allocations: 4.344 kB / 3.931 GB, free: 30.01 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.002747/14.36, allocations: 1.325 MB / 3.932 GB, free: 29.99 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01593/14.38, allocations: 2.705 MB / 3.934 GB, free: 29.95 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02093/14.4, allocations: 11.2 MB / 3.945 GB, free: 24.84 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002862/14.4, allocations: 3.004 MB / 3.948 GB, free: 24 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.007011/14.41, allocations: 1.205 MB / 3.949 GB, free: 23.83 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001405/14.41, allocations: 430.1 kB / 3.95 GB, free: 23.82 MB / 0.7761 GB Notification: Performance of SimCode: time 1.383e-06/14.41, allocations: 0 / 3.95 GB, free: 23.82 MB / 0.7761 GB Notification: Performance of Templates: time 0.2724/14.68, allocations: 119 MB / 4.066 GB, free: 13.78 MB / 0.7761 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)