Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7825/0.7825, allocations: 140.1 MB / 156 MB, free: 5.164 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001418/0.001419, allocations: 184.1 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.741/1.741, allocations: 205.4 MB / 426.3 MB, free: 8.457 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000913/0.0009132, allocations: 74.39 kB / 0.4945 GB, free: 8.41 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001755/0.001755, allocations: 262.3 kB / 0.5728 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004916/0.0004917, allocations: 20 kB / 0.662 GB, free: 6.801 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4724/0.4729, allocations: 79.29 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7852/1.258, allocations: 379.4 MB / 1.11 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004094/1.259, allocations: 98.66 kB / 1.11 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 10.65/11.9, allocations: 2.704 GB / 3.814 GB, free: 34.48 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.276e-06/11.9, allocations: 0 / 3.814 GB, free: 34.48 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.001274/11.91, allocations: 170.7 kB / 3.815 GB, free: 34.45 MB / 0.8073 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.02673/11.93, allocations: 7.072 MB / 3.821 GB, free: 30.89 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 6.838e-05/11.93, allocations: 8.969 kB / 3.821 GB, free: 30.89 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005572/11.94, allocations: 0.7817 MB / 3.822 GB, free: 30.52 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1242/12.06, allocations: 56.55 MB / 3.877 GB, free: 26.05 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005374/12.06, allocations: 317.2 kB / 3.878 GB, free: 26.04 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001947/12.07, allocations: 432 kB / 3.878 GB, free: 26.03 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0136/12.08, allocations: 4.301 MB / 3.882 GB, free: 25.19 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002917/12.08, allocations: 17.53 kB / 3.882 GB, free: 25.18 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001306/12.08, allocations: 176.1 kB / 3.883 GB, free: 25.18 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000159/12.08, allocations: 119.3 kB / 3.883 GB, free: 25.18 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007976/12.09, allocations: 2.902 MB / 3.885 GB, free: 25.08 MB / 0.8073 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.03585/12.12, allocations: 24 MB / 3.909 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003521/12.13, allocations: 2.955 MB / 3.912 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001734/12.13, allocations: 1.082 MB / 3.913 GB, free: 7.547 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002423/12.13, allocations: 3.944 MB / 3.917 GB, free: 3.059 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.544e-05/12.13, allocations: 64.12 kB / 3.917 GB, free: 2.996 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=225): time 6.563e-06/12.13, allocations: 0 / 3.917 GB, free: 2.996 MB / 0.8073 GB Notification: Performance of matching and sorting (n=225): time 0.01191/12.14, allocations: 4.406 MB / 3.921 GB, free: 1.164 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/12.14, allocations: 79.25 kB / 3.921 GB, free: 1.098 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01154/12.16, allocations: 4.133 MB / 3.925 GB, free: 15.64 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0008708/12.16, allocations: 79.95 kB / 3.925 GB, free: 15.57 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.003657/12.16, allocations: 2.768 MB / 3.928 GB, free: 13.39 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00157/12.16, allocations: 0.7927 MB / 3.929 GB, free: 12.75 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004561/12.16, allocations: 53.47 kB / 3.929 GB, free: 12.71 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000381/12.16, allocations: 409.3 kB / 3.929 GB, free: 12.36 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001982/12.16, allocations: 0.8015 MB / 3.93 GB, free: 12.06 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003005/12.17, allocations: 1.821 MB / 3.932 GB, free: 10.49 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004496/12.17, allocations: 2.549 MB / 3.934 GB, free: 8.734 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.693e-05/12.17, allocations: 5.406 kB / 3.934 GB, free: 8.734 MB / 0.823 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01046/12.18, allocations: 3.505 MB / 3.938 GB, free: 7.066 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006844/12.18, allocations: 0.7343 MB / 3.938 GB, free: 6.043 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.006e-05/12.18, allocations: 20 kB / 3.938 GB, free: 6.023 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002452/12.19, allocations: 0.5673 MB / 3.939 GB, free: 5.566 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001988/12.19, allocations: 0.5227 MB / 3.939 GB, free: 5.109 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002543/12.19, allocations: 2.689 MB / 3.942 GB, free: 2.387 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006153/12.2, allocations: 0.5558 MB / 3.943 GB, free: 1.93 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005375/12.2, allocations: 134.1 kB / 3.943 GB, free: 1.809 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/12.2, allocations: 4 kB / 3.943 GB, free: 1.805 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006781/12.2, allocations: 2.82 MB / 3.945 GB, free: 15.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.552e-05/12.2, allocations: 20 kB / 3.946 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009975/12.21, allocations: 370.5 kB / 3.946 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001925/12.21, allocations: 0.5204 MB / 3.946 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009948/12.22, allocations: 7.732 MB / 3.954 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007078/12.22, allocations: 0.5148 MB / 3.954 GB, free: 6.172 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008773/12.23, allocations: 127.4 kB / 3.955 GB, free: 6.055 MB / 0.8386 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.005393/12.23, allocations: 0.9946 MB / 3.956 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002513/12.23, allocations: 0.5093 MB / 3.956 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009773/12.24, allocations: 3.786 MB / 3.96 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.487e-05/12.24, allocations: 42.3 kB / 3.96 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.612e-05/12.24, allocations: 3.938 kB / 3.96 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.688/12.93, allocations: 2.594 MB / 3.962 GB, free: 63.01 MB / 0.8386 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.01791/12.95, allocations: 8.539 MB / 3.971 GB, free: 61.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/12.95, allocations: 3.531 kB / 3.971 GB, free: 61.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001524/12.95, allocations: 387.1 kB / 3.971 GB, free: 61.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006963/12.95, allocations: 311.1 kB / 3.971 GB, free: 61.59 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001488/12.95, allocations: 66.97 kB / 3.971 GB, free: 61.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/12.95, allocations: 2.494 MB / 3.974 GB, free: 59.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/12.95, allocations: 0.75 kB / 3.974 GB, free: 59.52 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007553/12.96, allocations: 4.661 MB / 3.978 GB, free: 59.15 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003509/12.96, allocations: 0.97 MB / 3.979 GB, free: 59.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001109/12.97, allocations: 47.97 kB / 3.979 GB, free: 59.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003803/12.97, allocations: 445.3 kB / 3.98 GB, free: 59.05 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002499/12.97, allocations: 155.8 kB / 3.98 GB, free: 59.05 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002377/12.97, allocations: 115.1 kB / 3.98 GB, free: 59.05 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.005015/12.97, allocations: 2.718 MB / 3.983 GB, free: 58.87 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.6e-07/12.97, allocations: 2.688 kB / 3.983 GB, free: 58.87 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.01359/12.99, allocations: 3.444 MB / 3.986 GB, free: 58.71 MB / 0.8386 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.00862/13, allocations: 3.249 MB / 3.989 GB, free: 57.5 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.007847/13, allocations: 4.431 MB / 3.994 GB, free: 56.95 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/13, allocations: 3.188 kB / 3.994 GB, free: 56.95 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.00235/13.01, allocations: 1.324 MB / 3.995 GB, free: 56.93 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01761/13.02, allocations: 2.711 MB / 3.997 GB, free: 56.9 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02877/13.05, allocations: 11.17 MB / 4.008 GB, free: 51.83 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005207/13.06, allocations: 2.875 MB / 4.011 GB, free: 51.04 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.01142/13.07, allocations: 1.199 MB / 4.012 GB, free: 50.99 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002312/13.07, allocations: 421.4 kB / 4.013 GB, free: 50.99 MB / 0.8386 GB Notification: Performance of SimCode: time 1.182e-06/13.07, allocations: 1.938 kB / 4.013 GB, free: 50.99 MB / 0.8386 GB Notification: Performance of Templates: time 0.2455/13.32, allocations: 118 MB / 4.128 GB, free: 41.39 MB / 0.8386 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)