Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.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.HeatExchangers.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") translateModel(IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 174.7 kB / 7.644 MB, free: 1.41 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.776/0.776, allocations: 130.7 MB / 138.7 MB, free: 3.5 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 221.5 MB / 391.8 MB, free: 14.17 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009147/0.0009148, allocations: 96.45 kB / 473.9 MB, free: 4.484 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.903e-05/1.9e-05, allocations: 4 kB / 0.5485 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5179/0.5179, allocations: 81.57 MB / 0.6282 GB, free: 42.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.914/1.432, allocations: 362.8 MB / 0.9825 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/1.432, allocations: 87.81 kB / 0.9826 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.51/7.943, allocations: 1.527 GB / 2.51 GB, free: 91.72 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.015e-06/7.943, allocations: 3.406 kB / 2.51 GB, free: 91.72 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002694/7.943, allocations: 51.39 kB / 2.51 GB, free: 91.71 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.006106/7.949, allocations: 1.875 MB / 2.512 GB, free: 90.33 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/7.949, allocations: 10.41 kB / 2.512 GB, free: 90.33 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003576/7.953, allocations: 0.6018 MB / 2.512 GB, free: 90.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004557/7.957, allocations: 1.436 MB / 2.514 GB, free: 89.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.644e-05/7.957, allocations: 34.44 kB / 2.514 GB, free: 89.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004083/7.958, allocations: 67.2 kB / 2.514 GB, free: 89.12 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001762/7.96, allocations: 0.829 MB / 2.515 GB, free: 88.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/7.961, allocations: 1.061 MB / 2.516 GB, free: 87.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/7.961, allocations: 2 kB / 2.516 GB, free: 87.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-05/7.961, allocations: 8.328 kB / 2.516 GB, free: 87.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/7.961, allocations: 31.89 kB / 2.516 GB, free: 87.77 MB / 0.698 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.007167/7.969, allocations: 6.445 MB / 2.522 GB, free: 80.93 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/7.97, allocations: 0.8938 MB / 2.523 GB, free: 80.04 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00056/7.971, allocations: 497.8 kB / 2.523 GB, free: 79.55 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001411/7.972, allocations: 2.264 MB / 2.526 GB, free: 76.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007476/7.973, allocations: 0.6414 MB / 2.526 GB, free: 76.12 MB / 0.698 GB Notification: Performance of pre-optimization done (n=97): time 3.487e-06/7.973, allocations: 0 / 2.526 GB, free: 76.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=97): time 0.003121/7.976, allocations: 1.401 MB / 2.528 GB, free: 74.72 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/7.976, allocations: 141.3 kB / 2.528 GB, free: 74.55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/7.977, allocations: 0.8985 MB / 2.529 GB, free: 73.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.066e-05/7.977, allocations: 29.7 kB / 2.529 GB, free: 73.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004561/7.978, allocations: 0.7163 MB / 2.529 GB, free: 72.89 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000217/7.978, allocations: 315.4 kB / 2.53 GB, free: 72.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.447e-05/7.978, allocations: 0 / 2.53 GB, free: 72.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.322e-05/7.978, allocations: 345.9 kB / 2.53 GB, free: 72.23 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005055/7.978, allocations: 406.5 kB / 2.53 GB, free: 71.83 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006547/7.979, allocations: 0.6761 MB / 2.531 GB, free: 71.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0017/7.981, allocations: 0.6735 MB / 2.532 GB, free: 70.38 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/7.981, allocations: 0 / 2.532 GB, free: 70.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002877/7.984, allocations: 1.561 MB / 2.533 GB, free: 68.81 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004795/7.984, allocations: 2.242 MB / 2.535 GB, free: 66.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/7.984, allocations: 4 kB / 2.535 GB, free: 66.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/7.984, allocations: 12 kB / 2.535 GB, free: 66.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/7.985, allocations: 299.5 kB / 2.536 GB, free: 66.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/7.985, allocations: 11.94 kB / 2.536 GB, free: 66.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/7.987, allocations: 217.3 kB / 2.536 GB, free: 65.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/7.987, allocations: 67.97 kB / 2.536 GB, free: 65.84 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/7.987, allocations: 4 kB / 2.536 GB, free: 65.84 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002761/7.99, allocations: 1.425 MB / 2.537 GB, free: 64.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/7.99, allocations: 4 kB / 2.537 GB, free: 64.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/7.99, allocations: 12 kB / 2.537 GB, free: 64.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/7.991, allocations: 292 kB / 2.538 GB, free: 64.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/7.991, allocations: 11.94 kB / 2.538 GB, free: 64.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/7.992, allocations: 214.2 kB / 2.538 GB, free: 63.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/7.993, allocations: 67.97 kB / 2.538 GB, free: 63.82 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003341/7.993, allocations: 241.2 kB / 2.538 GB, free: 63.56 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/7.993, allocations: 150.2 kB / 2.538 GB, free: 63.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00376/7.997, allocations: 1.993 MB / 2.54 GB, free: 61.41 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-05/7.997, allocations: 15.98 kB / 2.54 GB, free: 61.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/7.997, allocations: 2.812 kB / 2.54 GB, free: 61.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/7.997, allocations: 3.984 kB / 2.54 GB, free: 61.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005199/8.002, allocations: 3.2 MB / 2.543 GB, free: 58.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/8.002, allocations: 4 kB / 2.543 GB, free: 58.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/8.003, allocations: 227.8 kB / 2.544 GB, free: 57.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/8.003, allocations: 8 kB / 2.544 GB, free: 57.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.673e-05/8.003, allocations: 31.97 kB / 2.544 GB, free: 57.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/8.003, allocations: 7.938 kB / 2.544 GB, free: 57.89 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/8.003, allocations: 8 kB / 2.544 GB, free: 57.88 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003916/8.007, allocations: 2.669 MB / 2.546 GB, free: 55.14 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006379/8.008, allocations: 398.1 kB / 2.547 GB, free: 54.73 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/8.008, allocations: 19.06 kB / 2.547 GB, free: 54.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/8.009, allocations: 159.7 kB / 2.547 GB, free: 54.56 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/8.009, allocations: 68.67 kB / 2.547 GB, free: 54.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.466e-05/8.01, allocations: 55.97 kB / 2.547 GB, free: 54.44 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000817/8.01, allocations: 0.6761 MB / 2.548 GB, free: 53.76 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/8.01, allocations: 4 kB / 2.548 GB, free: 53.76 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002453/8.013, allocations: 0.8806 MB / 2.548 GB, free: 52.88 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (heaHigPow.outCon.T,heaHigPowOut.T,cooLimPowOut.T,cooLimPow.outCon.T,heaCooUnl.outCon.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001559/8.014, allocations: 0.9727 MB / 2.549 GB, free: 52.03 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002402/8.017, allocations: 2.22 MB / 2.552 GB, free: 49.73 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/8.017, allocations: 1.75 kB / 2.552 GB, free: 49.73 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007851/8.018, allocations: 0.8793 MB / 2.552 GB, free: 48.82 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002241/8.02, allocations: 0.5095 MB / 2.553 GB, free: 48.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00387/8.024, allocations: 2.625 MB / 2.555 GB, free: 45.73 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005827/8.024, allocations: 1.308 MB / 2.557 GB, free: 44.38 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001829/8.026, allocations: 476.2 kB / 2.557 GB, free: 43.94 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002661/8.026, allocations: 111.4 kB / 2.557 GB, free: 43.83 MB / 0.698 GB Notification: Performance of SimCode: time 1.092e-06/8.026, allocations: 1.422 kB / 2.557 GB, free: 43.83 MB / 0.698 GB Notification: Performance of Templates: time 0.04721/8.074, allocations: 31.19 MB / 2.588 GB, free: 13.46 MB / 0.698 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)