Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") translateModel(IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001823/0.001823, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7928/0.7928, allocations: 133.6 MB / 141.6 MB, free: 2.91 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.617/1.617, allocations: 221.5 MB / 395.5 MB, free: 10.75 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.0008846/0.0008847, allocations: 103 kB / 478.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.501e-05/1.502e-05, allocations: 4 kB / 0.5535 GB, free: 9.047 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5117/0.5117, allocations: 82.31 MB / 0.6338 GB, free: 40.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8964/1.408, allocations: 363.1 MB / 0.9884 GB, free: 5.48 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/1.409, allocations: 87.02 kB / 0.9885 GB, free: 5.438 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.629/8.037, allocations: 1.527 GB / 2.516 GB, free: 101.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.554e-06/8.037, allocations: 1.5 kB / 2.516 GB, free: 101.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003368/8.038, allocations: 47.06 kB / 2.516 GB, free: 101.5 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.006351/8.044, allocations: 1.873 MB / 2.518 GB, free: 100.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/8.044, allocations: 6.5 kB / 2.518 GB, free: 100.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00401/8.048, allocations: 0.6084 MB / 2.518 GB, free: 100.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005463/8.054, allocations: 1.434 MB / 2.52 GB, free: 99.98 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.064e-05/8.054, allocations: 33.84 kB / 2.52 GB, free: 99.98 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005571/8.054, allocations: 71.06 kB / 2.52 GB, free: 99.98 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00245/8.057, allocations: 0.8313 MB / 2.521 GB, free: 99.97 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002718/8.059, allocations: 1.057 MB / 2.522 GB, free: 99.76 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.797e-05/8.059, allocations: 5.891 kB / 2.522 GB, free: 99.76 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001559/8.06, allocations: 4.938 kB / 2.522 GB, free: 99.76 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.363e-05/8.06, allocations: 26 kB / 2.522 GB, free: 99.76 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.01117/8.071, allocations: 6.453 MB / 2.528 GB, free: 95.92 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/8.072, allocations: 0.8968 MB / 2.529 GB, free: 95.89 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006101/8.073, allocations: 500 kB / 2.529 GB, free: 95.89 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001586/8.075, allocations: 2.258 MB / 2.531 GB, free: 93.36 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008915/8.076, allocations: 0.6401 MB / 2.532 GB, free: 93.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=97): time 4.348e-06/8.076, allocations: 0 / 2.532 GB, free: 93.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=97): time 0.003678/8.079, allocations: 1.406 MB / 2.533 GB, free: 93.07 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/8.079, allocations: 147.3 kB / 2.534 GB, free: 92.91 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/8.081, allocations: 0.8943 MB / 2.534 GB, free: 92.76 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000102/8.081, allocations: 29.42 kB / 2.535 GB, free: 92.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006486/8.081, allocations: 0.7118 MB / 2.535 GB, free: 92.29 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003153/8.082, allocations: 317.7 kB / 2.535 GB, free: 92.05 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.285e-05/8.082, allocations: 3.156 kB / 2.536 GB, free: 92.05 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000103/8.082, allocations: 340.1 kB / 2.536 GB, free: 91.73 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005734/8.083, allocations: 409.1 kB / 2.536 GB, free: 91.58 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000735/8.083, allocations: 0.6721 MB / 2.537 GB, free: 91.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001916/8.085, allocations: 0.6692 MB / 2.538 GB, free: 90.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/8.085, allocations: 0 / 2.538 GB, free: 90.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.003463/8.089, allocations: 1.566 MB / 2.539 GB, free: 90.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006325/8.089, allocations: 2.243 MB / 2.541 GB, free: 87.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/8.089, allocations: 3.656 kB / 2.541 GB, free: 87.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.075e-05/8.089, allocations: 11.38 kB / 2.541 GB, free: 87.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/8.091, allocations: 289 kB / 2.542 GB, free: 87.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/8.091, allocations: 16.17 kB / 2.542 GB, free: 87.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/8.093, allocations: 214.5 kB / 2.542 GB, free: 87.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/8.093, allocations: 68.08 kB / 2.542 GB, free: 87.69 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/8.093, allocations: 3.781 kB / 2.542 GB, free: 87.69 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003061/8.096, allocations: 1.425 MB / 2.543 GB, free: 87.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/8.096, allocations: 7 kB / 2.543 GB, free: 87.08 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/8.096, allocations: 14.2 kB / 2.543 GB, free: 87.08 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/8.097, allocations: 294.9 kB / 2.544 GB, free: 87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/8.097, allocations: 10.88 kB / 2.544 GB, free: 87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/8.099, allocations: 211.3 kB / 2.544 GB, free: 86.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/8.099, allocations: 66.41 kB / 2.544 GB, free: 86.9 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.0003978/8.099, allocations: 245.9 kB / 2.544 GB, free: 86.66 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003913/8.1, allocations: 152.8 kB / 2.544 GB, free: 86.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004356/8.104, allocations: 1.991 MB / 2.546 GB, free: 85.62 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-05/8.104, allocations: 23.3 kB / 2.546 GB, free: 85.62 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/8.104, allocations: 0 / 2.546 GB, free: 85.62 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/8.104, allocations: 3.984 kB / 2.546 GB, free: 85.61 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006622/8.111, allocations: 3.203 MB / 2.549 GB, free: 83.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/8.111, allocations: 0 / 2.549 GB, free: 83.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/8.112, allocations: 231.7 kB / 2.549 GB, free: 83.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-05/8.112, allocations: 13.3 kB / 2.55 GB, free: 83.64 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001172/8.112, allocations: 32.41 kB / 2.55 GB, free: 83.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.164e-05/8.112, allocations: 7.125 kB / 2.55 GB, free: 83.62 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/8.112, allocations: 0 / 2.55 GB, free: 83.62 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004858/8.117, allocations: 2.678 MB / 2.552 GB, free: 82.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/8.118, allocations: 383.3 kB / 2.553 GB, free: 81.87 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000497/8.119, allocations: 18.7 kB / 2.553 GB, free: 81.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001672/8.12, allocations: 157.4 kB / 2.553 GB, free: 81.82 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/8.121, allocations: 77.45 kB / 2.553 GB, free: 81.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/8.121, allocations: 54.62 kB / 2.553 GB, free: 81.76 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001406/8.122, allocations: 0.6798 MB / 2.553 GB, free: 81.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.51e-07/8.122, allocations: 0 / 2.553 GB, free: 81.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004126/8.126, allocations: 0.8822 MB / 2.554 GB, free: 81.21 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.003041/8.129, allocations: 0.982 MB / 2.555 GB, free: 80.86 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003786/8.133, allocations: 2.214 MB / 2.557 GB, free: 79.64 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/8.133, allocations: 0 / 2.557 GB, free: 79.64 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/8.134, allocations: 0.877 MB / 2.558 GB, free: 79.12 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003535/8.138, allocations: 0.5054 MB / 2.559 GB, free: 78.89 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005586/8.144, allocations: 2.609 MB / 2.561 GB, free: 77.45 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/8.145, allocations: 1.324 MB / 2.563 GB, free: 76.29 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002695/8.147, allocations: 469.4 kB / 2.563 GB, free: 75.86 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004192/8.148, allocations: 119.3 kB / 2.563 GB, free: 75.74 MB / 0.698 GB Notification: Performance of SimCode: time 1.713e-06/8.148, allocations: 0 / 2.563 GB, free: 75.74 MB / 0.698 GB Notification: Performance of Templates: time 0.05578/8.204, allocations: 31.18 MB / 2.594 GB, free: 45.61 MB / 0.698 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)