Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet") translateModel(IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01184/0.01185, allocations: 173.6 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7452/0.7452, allocations: 132.3 MB / 148.1 MB, free: 236 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 223.2 MB / 403.2 MB, free: 6.723 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.0009003/0.0009005, allocations: 92.11 kB / 485.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003856, allocations: 8 kB / 0.5641 GB, free: 2.113 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5155/0.5159, allocations: 81.58 MB / 0.6438 GB, free: 39.38 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8494/1.365, allocations: 363.3 MB / 0.9986 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/1.366, allocations: 87.08 kB / 0.9986 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.857/5.222, allocations: 0.9548 GB / 1.953 GB, free: 107.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.984e-06/5.223, allocations: 6.531 kB / 1.953 GB, free: 107.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002878/5.223, allocations: 48.92 kB / 1.953 GB, free: 107.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.006829/5.23, allocations: 2.177 MB / 1.956 GB, free: 106.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/5.23, allocations: 8.406 kB / 1.956 GB, free: 106.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003539/5.233, allocations: 0.6098 MB / 1.956 GB, free: 106.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004787/5.238, allocations: 1.442 MB / 1.958 GB, free: 105.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/5.238, allocations: 81.91 kB / 1.958 GB, free: 105.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000449/5.239, allocations: 107.8 kB / 1.958 GB, free: 105.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003483/5.242, allocations: 1.368 MB / 1.959 GB, free: 105.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.813e-05/5.242, allocations: 2.062 kB / 1.959 GB, free: 105.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/5.242, allocations: 43.14 kB / 1.959 GB, free: 105.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/5.242, allocations: 25.19 kB / 1.959 GB, free: 105.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003344/5.246, allocations: 1.266 MB / 1.96 GB, free: 105.7 MB / 0.698 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.009341/5.255, allocations: 6.426 MB / 1.967 GB, free: 102.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002862/5.258, allocations: 1.281 MB / 1.968 GB, free: 102 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001445/5.259, allocations: 2.259 MB / 1.97 GB, free: 99.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001607/5.261, allocations: 0.8532 MB / 1.971 GB, free: 99.35 MB / 0.698 GB Notification: Performance of pre-optimization done (n=100): time 3.697e-06/5.261, allocations: 0 / 1.971 GB, free: 99.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=100): time 0.005341/5.266, allocations: 2.497 MB / 1.973 GB, free: 98.83 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.704e-05/5.267, allocations: 151.1 kB / 1.974 GB, free: 98.67 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002008/5.269, allocations: 1.038 MB / 1.975 GB, free: 98.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001353/5.269, allocations: 49.3 kB / 1.975 GB, free: 98.49 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006178/5.269, allocations: 0.6921 MB / 1.975 GB, free: 98.27 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000326/5.27, allocations: 327.5 kB / 1.976 GB, free: 98.06 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-05/5.27, allocations: 20 kB / 1.976 GB, free: 98.06 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.362e-05/5.27, allocations: 341 kB / 1.976 GB, free: 97.76 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001366/5.271, allocations: 0.5836 MB / 1.977 GB, free: 97.75 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00161/5.273, allocations: 0.8333 MB / 1.977 GB, free: 97.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/5.274, allocations: 0.7114 MB / 1.978 GB, free: 97.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-06/5.274, allocations: 0 / 1.978 GB, free: 97.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004149/5.279, allocations: 1.81 MB / 1.98 GB, free: 97.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004507/5.279, allocations: 1.72 MB / 1.982 GB, free: 95.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/5.279, allocations: 2.188 kB / 1.982 GB, free: 95.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.527e-05/5.279, allocations: 9.25 kB / 1.982 GB, free: 95.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/5.28, allocations: 283.6 kB / 1.982 GB, free: 95.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.316e-05/5.28, allocations: 13.59 kB / 1.982 GB, free: 95.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/5.282, allocations: 230.7 kB / 1.982 GB, free: 95.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000188/5.282, allocations: 59.19 kB / 1.982 GB, free: 95.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/5.282, allocations: 6.719 kB / 1.982 GB, free: 95.32 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00374/5.286, allocations: 1.723 MB / 1.984 GB, free: 95.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/5.286, allocations: 3.875 kB / 1.984 GB, free: 95.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/5.286, allocations: 9.25 kB / 1.984 GB, free: 95.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/5.287, allocations: 274.9 kB / 1.984 GB, free: 95.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.015e-05/5.287, allocations: 13.14 kB / 1.984 GB, free: 95.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/5.289, allocations: 234 kB / 1.984 GB, free: 95.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001625/5.289, allocations: 59.89 kB / 1.984 GB, free: 95.16 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 108 * 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.001021/5.29, allocations: 0.4937 MB / 1.985 GB, free: 94.87 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005185/5.291, allocations: 157.2 kB / 1.985 GB, free: 94.79 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005527/5.297, allocations: 2.384 MB / 1.987 GB, free: 94.58 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.964e-05/5.297, allocations: 20.98 kB / 1.987 GB, free: 94.58 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/5.297, allocations: 0 / 1.987 GB, free: 94.58 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/5.297, allocations: 7.594 kB / 1.987 GB, free: 94.58 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008172/5.305, allocations: 3.732 MB / 1.991 GB, free: 94.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/5.305, allocations: 1.969 kB / 1.991 GB, free: 94.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/5.306, allocations: 232.9 kB / 1.991 GB, free: 94.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.777e-05/5.306, allocations: 3.719 kB / 1.991 GB, free: 94.03 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/5.306, allocations: 43.91 kB / 1.991 GB, free: 94.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.078e-05/5.306, allocations: 7.234 kB / 1.991 GB, free: 94.03 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/5.306, allocations: 5.469 kB / 1.991 GB, free: 94.03 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006136/5.312, allocations: 3.24 MB / 1.994 GB, free: 93.52 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001243/5.314, allocations: 409.3 kB / 1.995 GB, free: 93.32 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004785/5.314, allocations: 37.08 kB / 1.995 GB, free: 93.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001685/5.316, allocations: 165.9 kB / 1.995 GB, free: 93.31 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/5.316, allocations: 76.25 kB / 1.995 GB, free: 93.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001627/5.316, allocations: 54.84 kB / 1.995 GB, free: 93.31 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001654/5.318, allocations: 0.8119 MB / 1.996 GB, free: 93.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.6e-07/5.318, allocations: 3.938 kB / 1.996 GB, free: 93.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003816/5.322, allocations: 0.9194 MB / 1.997 GB, free: 93.09 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 82 * 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.002691/5.324, allocations: 0.9851 MB / 1.998 GB, free: 92.81 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005993/5.33, allocations: 2.754 MB / 2 GB, free: 92.34 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/5.33, allocations: 0 / 2 GB, free: 92.34 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002063/5.332, allocations: 1.088 MB / 2.002 GB, free: 92.12 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003587/5.336, allocations: 0.5987 MB / 2.002 GB, free: 92.09 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007115/5.343, allocations: 3.727 MB / 2.006 GB, free: 90.31 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001283/5.345, allocations: 1.303 MB / 2.007 GB, free: 89.57 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002285/5.347, allocations: 421 kB / 2.007 GB, free: 89.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005286/5.347, allocations: 145.9 kB / 2.008 GB, free: 89.48 MB / 0.698 GB Notification: Performance of SimCode: time 9.52e-07/5.347, allocations: 0 / 2.008 GB, free: 89.48 MB / 0.698 GB Notification: Performance of Templates: time 0.05952/5.407, allocations: 33.67 MB / 2.04 GB, free: 71.59 MB / 0.698 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)