Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001583/0.001583, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7515/0.7515, allocations: 130.5 MB / 143.8 MB, free: 13.59 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 221.3 MB / 396.8 MB, free: 9.191 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000994/0.0009943, allocations: 101.6 kB / 479 MB, free: 10.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.641e-05/3.652e-05, allocations: 4.125 kB / 0.5551 GB, free: 86.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1955, allocations: 81.58 MB / 0.6348 GB, free: 12.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.42/1.615, allocations: 383.5 MB / 1.009 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/1.616, allocations: 96.75 kB / 1.009 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 11.82/13.43, allocations: 2.788 GB / 3.798 GB, free: 38.93 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.204e-06/13.43, allocations: 1.969 kB / 3.798 GB, free: 38.93 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.001107/13.43, allocations: 180.1 kB / 3.798 GB, free: 38.89 MB / 0.823 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.02354/13.46, allocations: 5.916 MB / 3.804 GB, free: 36.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.529e-05/13.46, allocations: 11.31 kB / 3.804 GB, free: 36.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006291/13.46, allocations: 0.7751 MB / 3.804 GB, free: 35.82 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.132/13.6, allocations: 60.68 MB / 3.864 GB, free: 32.68 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003424/13.6, allocations: 320.1 kB / 3.864 GB, free: 32.67 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001337/13.6, allocations: 425.6 kB / 3.864 GB, free: 32.66 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00945/13.61, allocations: 4.194 MB / 3.868 GB, free: 31.88 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001058/13.61, allocations: 13.95 kB / 3.868 GB, free: 31.88 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005125/13.61, allocations: 179 kB / 3.869 GB, free: 31.88 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001104/13.61, allocations: 116.8 kB / 3.869 GB, free: 31.88 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005572/13.61, allocations: 2.789 MB / 3.871 GB, free: 31.85 MB / 0.823 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.03703/13.65, allocations: 24.05 MB / 3.895 GB, free: 17.62 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003299/13.65, allocations: 2.903 MB / 3.898 GB, free: 16.45 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001489/13.65, allocations: 1.05 MB / 3.899 GB, free: 16.43 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002537/13.66, allocations: 3.932 MB / 3.903 GB, free: 12.02 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.837e-05/13.66, allocations: 67.17 kB / 3.903 GB, free: 11.98 MB / 0.823 GB Notification: Performance of pre-optimization done (n=225): time 3.947e-06/13.66, allocations: 0 / 3.903 GB, free: 11.98 MB / 0.823 GB Notification: Performance of matching and sorting (n=225): time 0.00661/13.66, allocations: 2.568 MB / 3.905 GB, free: 11.58 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/13.66, allocations: 79.38 kB / 3.905 GB, free: 11.52 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009107/13.67, allocations: 3.608 MB / 3.909 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0007635/13.67, allocations: 79.77 kB / 3.909 GB, free: 27.15 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.00216/13.68, allocations: 2.787 MB / 3.912 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001016/13.68, allocations: 0.7788 MB / 3.912 GB, free: 25.78 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/13.68, allocations: 53.81 kB / 3.912 GB, free: 25.78 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001933/13.68, allocations: 410 kB / 3.913 GB, free: 25.47 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/13.68, allocations: 0.7654 MB / 3.914 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001734/13.68, allocations: 1.753 MB / 3.915 GB, free: 24.31 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001555/13.68, allocations: 1.074 MB / 3.916 GB, free: 24.27 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-05/13.68, allocations: 8.969 kB / 3.916 GB, free: 24.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.006531/13.69, allocations: 3.278 MB / 3.92 GB, free: 23.88 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.003641/13.69, allocations: 10.37 MB / 3.93 GB, free: 13.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-05/13.69, allocations: 22.62 kB / 3.93 GB, free: 13.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009713/13.69, allocations: 396.1 kB / 3.93 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001906/13.7, allocations: 0.5301 MB / 3.931 GB, free: 13.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00232/13.7, allocations: 2.684 MB / 3.933 GB, free: 10.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007117/13.7, allocations: 0.5488 MB / 3.934 GB, free: 10.85 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005196/13.71, allocations: 132.8 kB / 3.934 GB, free: 10.85 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/13.71, allocations: 3.094 kB / 3.934 GB, free: 10.85 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00507/13.71, allocations: 2.735 MB / 3.937 GB, free: 10.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-05/13.71, allocations: 25.06 kB / 3.937 GB, free: 10.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000932/13.71, allocations: 370.7 kB / 3.937 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001656/13.71, allocations: 0.5252 MB / 3.937 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008695/13.72, allocations: 7.701 MB / 3.945 GB, free: 21.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006741/13.73, allocations: 0.5108 MB / 3.945 GB, free: 20.96 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006786/13.73, allocations: 129 kB / 3.946 GB, free: 20.96 MB / 0.8542 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.001301/13.73, allocations: 287 kB / 3.946 GB, free: 20.83 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002045/13.73, allocations: 0.5089 MB / 3.946 GB, free: 20.57 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007336/13.74, allocations: 3.716 MB / 3.95 GB, free: 20.26 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.988e-05/13.74, allocations: 43.27 kB / 3.95 GB, free: 20.26 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/13.74, allocations: 0 / 3.95 GB, free: 20.26 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003634/13.74, allocations: 2.53 MB / 3.952 GB, free: 20.06 MB / 0.8542 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.01828/13.76, allocations: 8.508 MB / 3.961 GB, free: 18.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/13.76, allocations: 2.75 kB / 3.961 GB, free: 18.51 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001412/13.76, allocations: 385 kB / 3.961 GB, free: 18.51 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007472/13.76, allocations: 308.4 kB / 3.961 GB, free: 18.48 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001766/13.76, allocations: 64.81 kB / 3.962 GB, free: 18.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001698/13.77, allocations: 2.487 MB / 3.964 GB, free: 16.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/13.77, allocations: 0.8438 kB / 3.964 GB, free: 16.39 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008045/13.77, allocations: 4.649 MB / 3.969 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004371/13.78, allocations: 0.9987 MB / 3.969 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002098/13.78, allocations: 50.3 kB / 3.97 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005549/13.79, allocations: 433.7 kB / 3.97 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003258/13.79, allocations: 155.7 kB / 3.97 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004418/13.79, allocations: 113 kB / 3.97 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.006893/13.79, allocations: 2.746 MB / 3.973 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.743e-06/13.79, allocations: 2.5 kB / 3.973 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01884/13.81, allocations: 3.594 MB / 3.976 GB, free: 14.43 MB / 0.8542 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.008751/13.82, allocations: 3.405 MB / 3.98 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01315/13.84, allocations: 4.506 MB / 3.984 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/13.84, allocations: 1.906 kB / 3.984 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003341/13.84, allocations: 1.296 MB / 3.985 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02223/13.86, allocations: 2.705 MB / 3.988 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02454/13.89, allocations: 7.305 MB / 3.995 GB, free: 9.473 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005199/13.89, allocations: 3.008 MB / 3.998 GB, free: 8.598 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.01026/13.9, allocations: 1.509 MB / 4 GB, free: 8.27 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/13.9, allocations: 321.4 kB / 4 GB, free: 8.262 MB / 0.8542 GB Notification: Performance of SimCode: time 1.854e-06/13.9, allocations: 0 / 4 GB, free: 8.262 MB / 0.8542 GB Notification: Performance of Templates: time 0.9836/14.89, allocations: 133 MB / 4.13 GB, free: 79.14 MB / 0.8698 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)