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.0009015/0.0009017, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4809/0.4809, allocations: 90.91 MB / 99.34 MB, free: 2.191 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 221.5 MB / 343.2 MB, free: 1.594 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009633/0.0009633, allocations: 97.2 kB / 415.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.955e-05/1.958e-05, allocations: 4 kB / 494.5 MB, free: 52.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1577, allocations: 72.31 MB / 0.5535 GB, free: 12.29 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.17/1.327, allocations: 373.4 MB / 0.9181 GB, free: 107.4 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/1.328, allocations: 90.77 kB / 0.9182 GB, free: 107.4 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 10.84/12.17, allocations: 2.786 GB / 3.704 GB, free: 33.93 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.365e-06/12.17, allocations: 2.531 kB / 3.704 GB, free: 33.93 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.00115/12.17, allocations: 172 kB / 3.704 GB, free: 33.9 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.02113/12.19, allocations: 5.915 MB / 3.71 GB, free: 30.91 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/12.19, allocations: 11.16 kB / 3.71 GB, free: 30.91 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005939/12.19, allocations: 0.7796 MB / 3.71 GB, free: 30.54 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1357/12.33, allocations: 60.53 MB / 3.77 GB, free: 26.39 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003892/12.33, allocations: 130.6 kB / 3.77 GB, free: 26.39 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001842/12.33, allocations: 247.6 kB / 3.77 GB, free: 26.39 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009014/12.34, allocations: 2.524 MB / 3.772 GB, free: 26.37 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01238/12.35, allocations: 3.607 MB / 3.776 GB, free: 25.56 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002442/12.35, allocations: 15.81 kB / 3.776 GB, free: 25.55 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00116/12.36, allocations: 18.27 kB / 3.776 GB, free: 25.55 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001432/12.36, allocations: 119.3 kB / 3.776 GB, free: 25.54 MB / 0.7448 GB Warning: The model contains alias variables with conflicting start and/or 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.03489/12.39, allocations: 23.36 MB / 3.799 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003038/12.39, allocations: 2.846 MB / 3.802 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001399/12.39, allocations: 0.9935 MB / 3.803 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002421/12.4, allocations: 3.932 MB / 3.806 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.61e-05/12.4, allocations: 67.02 kB / 3.807 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=225): time 3.757e-06/12.4, allocations: 0 / 3.807 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of matching and sorting (n=225): time 0.008571/12.41, allocations: 2.884 MB / 3.809 GB, free: 2.656 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/12.41, allocations: 76.16 kB / 3.809 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008829/12.41, allocations: 3.304 MB / 3.813 GB, free: 1.312 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0007283/12.42, allocations: 28.7 kB / 3.813 GB, free: 1.281 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.002803/12.42, allocations: 2.798 MB / 3.815 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001443/12.42, allocations: 0.758 MB / 3.816 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003275/12.42, allocations: 2.078 kB / 3.816 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002849/12.42, allocations: 403.9 kB / 3.817 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001464/12.42, allocations: 0.7334 MB / 3.817 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002497/12.42, allocations: 1.695 MB / 3.819 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00437/12.43, allocations: 1.365 MB / 3.82 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-05/12.43, allocations: 7.5 kB / 3.82 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01009/12.44, allocations: 3.47 MB / 3.824 GB, free: 9.496 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.004838/12.44, allocations: 10.32 MB / 3.834 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.042e-05/12.44, allocations: 26.88 kB / 3.834 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007908/12.44, allocations: 338.7 kB / 3.834 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001942/12.45, allocations: 0.5314 MB / 3.835 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002379/12.45, allocations: 2.756 MB / 3.837 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00595/12.46, allocations: 493 kB / 3.838 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004543/12.46, allocations: 139.2 kB / 3.838 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/12.46, allocations: 4 kB / 3.838 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008067/12.46, allocations: 2.749 MB / 3.841 GB, free: 7.977 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.824e-05/12.46, allocations: 24.22 kB / 3.841 GB, free: 7.953 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009055/12.46, allocations: 355.9 kB / 3.841 GB, free: 7.66 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001796/12.47, allocations: 0.5303 MB / 3.841 GB, free: 7.199 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7594/13.23, allocations: 7.386 MB / 3.849 GB, free: 62.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007422/13.23, allocations: 459.7 kB / 3.849 GB, free: 62.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009325/13.23, allocations: 126.4 kB / 3.849 GB, free: 62.09 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 () * 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.0009556/13.24, allocations: 183.2 kB / 3.849 GB, free: 61.98 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002491/13.24, allocations: 0.5003 MB / 3.85 GB, free: 61.98 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01113/13.25, allocations: 3.756 MB / 3.854 GB, free: 61.76 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.143e-05/13.25, allocations: 37.66 kB / 3.854 GB, free: 61.76 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/13.25, allocations: 1.672 kB / 3.854 GB, free: 61.76 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006274/13.26, allocations: 2.617 MB / 3.856 GB, free: 61.57 MB / 0.7761 GB Warning: The model contains alias variables with conflicting start and/or 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.02243/13.28, allocations: 8.092 MB / 3.864 GB, free: 60.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/13.28, allocations: 3.156 kB / 3.864 GB, free: 60.25 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001801/13.28, allocations: 387.7 kB / 3.864 GB, free: 60.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006208/13.28, allocations: 225.4 kB / 3.865 GB, free: 60.21 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001937/13.28, allocations: 39.44 kB / 3.865 GB, free: 60.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002175/13.28, allocations: 2.504 MB / 3.867 GB, free: 58.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/13.28, allocations: 4.969 kB / 3.867 GB, free: 58.14 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01276/13.3, allocations: 4.703 MB / 3.872 GB, free: 57.45 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004577/13.3, allocations: 0.9827 MB / 3.873 GB, free: 57.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001744/13.3, allocations: 7.688 kB / 3.873 GB, free: 57.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004905/13.31, allocations: 403.4 kB / 3.873 GB, free: 57.06 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000304/13.31, allocations: 154.2 kB / 3.873 GB, free: 57.06 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003061/13.31, allocations: 115.2 kB / 3.873 GB, free: 57.06 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.005219/13.31, allocations: 2.451 MB / 3.876 GB, free: 56.88 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.71e-07/13.31, allocations: 0.8125 kB / 3.876 GB, free: 56.88 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.01668/13.33, allocations: 3.442 MB / 3.879 GB, free: 56.7 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 () * 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.006778/13.34, allocations: 3.43 MB / 3.882 GB, free: 55.49 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.007676/13.34, allocations: 4.235 MB / 3.887 GB, free: 54.96 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/13.34, allocations: 4.438 kB / 3.887 GB, free: 54.96 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.002043/13.35, allocations: 1.232 MB / 3.888 GB, free: 54.94 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0159/13.36, allocations: 2.614 MB / 3.89 GB, free: 54.92 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01485/13.38, allocations: 7.173 MB / 3.897 GB, free: 52.99 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002474/13.38, allocations: 3.013 MB / 3.9 GB, free: 52.18 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.007807/13.39, allocations: 1.482 MB / 3.902 GB, free: 52.12 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007167/13.39, allocations: 317.6 kB / 3.902 GB, free: 52.12 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/13.39, allocations: 0 / 3.902 GB, free: 52.12 MB / 0.7761 GB Notification: Performance of Templates: time 0.2024/13.59, allocations: 114.3 MB / 4.014 GB, free: 43.18 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)