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.002336/0.002336, allocations: 169.3 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7854/0.7854, allocations: 130.7 MB / 138.7 MB, free: 3.648 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.517/1.517, 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.0009751/0.000975, allocations: 98.02 kB / 473.9 MB, free: 4.457 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.722e-05/1.724e-05, allocations: 4 kB / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5293/0.5294, allocations: 81.57 MB / 0.6282 GB, free: 43 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9348/1.464, allocations: 362.6 MB / 0.9823 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/1.465, allocations: 87.2 kB / 0.9823 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.189/5.654, allocations: 0.9472 GB / 1.93 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.275e-06/5.654, allocations: 0 / 1.93 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003246/5.654, allocations: 51.77 kB / 1.93 GB, free: 103.3 MB / 0.6823 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.006245/5.66, allocations: 1.86 MB / 1.931 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/5.661, allocations: 14.08 kB / 1.931 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003956/5.664, allocations: 0.6094 MB / 1.932 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005165/5.67, allocations: 1.429 MB / 1.933 GB, free: 101.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.874e-05/5.67, allocations: 31.97 kB / 1.933 GB, free: 101.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004919/5.67, allocations: 67.34 kB / 1.934 GB, free: 101.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002318/5.673, allocations: 0.861 MB / 1.934 GB, free: 101.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002557/5.675, allocations: 1.043 MB / 1.935 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.711e-05/5.675, allocations: 3.703 kB / 1.935 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/5.675, allocations: 9.906 kB / 1.935 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.824e-05/5.675, allocations: 29.16 kB / 1.935 GB, free: 101.6 MB / 0.6823 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.009616/5.685, allocations: 6.228 MB / 1.942 GB, free: 97.96 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/5.687, allocations: 0.9059 MB / 1.942 GB, free: 97.93 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007053/5.687, allocations: 0.4975 MB / 1.943 GB, free: 97.93 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0016/5.689, allocations: 2.263 MB / 1.945 GB, free: 95.39 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009431/5.69, allocations: 0.6542 MB / 1.946 GB, free: 95.24 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=100): time 4.979e-06/5.69, allocations: 0 / 1.946 GB, free: 95.24 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100): time 0.003861/5.694, allocations: 1.46 MB / 1.947 GB, free: 95.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/5.694, allocations: 146.1 kB / 1.947 GB, free: 94.94 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001847/5.696, allocations: 0.8824 MB / 1.948 GB, free: 94.79 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001205/5.696, allocations: 29.3 kB / 1.948 GB, free: 94.76 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007296/5.697, allocations: 0.6969 MB / 1.949 GB, free: 94.53 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00037/5.697, allocations: 319.8 kB / 1.949 GB, free: 94.32 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.55e-05/5.697, allocations: 5.344 kB / 1.949 GB, free: 94.32 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001092/5.697, allocations: 342.1 kB / 1.95 GB, free: 94.02 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006171/5.698, allocations: 400.7 kB / 1.95 GB, free: 94.01 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007716/5.699, allocations: 0.6458 MB / 1.951 GB, free: 93.76 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002173/5.701, allocations: 0.6913 MB / 1.951 GB, free: 93.74 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/5.701, allocations: 0 / 1.951 GB, free: 93.74 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003853/5.705, allocations: 1.572 MB / 1.953 GB, free: 93.61 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004952/5.705, allocations: 1.702 MB / 1.954 GB, free: 91.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/5.705, allocations: 6.203 kB / 1.954 GB, free: 91.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.054e-05/5.705, allocations: 14.72 kB / 1.954 GB, free: 91.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/5.707, allocations: 283 kB / 1.955 GB, free: 91.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.827e-05/5.707, allocations: 13.53 kB / 1.955 GB, free: 91.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001867/5.709, allocations: 207.3 kB / 1.955 GB, free: 91.83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001878/5.709, allocations: 61.39 kB / 1.955 GB, free: 91.83 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/5.709, allocations: 3.75 kB / 1.955 GB, free: 91.83 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003254/5.712, allocations: 1.438 MB / 1.956 GB, free: 91.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/5.712, allocations: 6.656 kB / 1.956 GB, free: 91.78 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/5.712, allocations: 7.219 kB / 1.956 GB, free: 91.78 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/5.713, allocations: 287.8 kB / 1.957 GB, free: 91.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/5.713, allocations: 6.312 kB / 1.957 GB, free: 91.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/5.715, allocations: 200.2 kB / 1.957 GB, free: 91.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/5.715, allocations: 63.14 kB / 1.957 GB, free: 91.73 MB / 0.6823 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 () * 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.0004116/5.716, allocations: 238.3 kB / 1.957 GB, free: 91.52 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005293/5.716, allocations: 152.5 kB / 1.957 GB, free: 91.44 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004818/5.721, allocations: 2.057 MB / 1.959 GB, free: 91.31 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.394e-05/5.721, allocations: 15.64 kB / 1.959 GB, free: 91.31 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/5.721, allocations: 2.094 kB / 1.959 GB, free: 91.31 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/5.721, allocations: 3.516 kB / 1.959 GB, free: 91.31 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006933/5.728, allocations: 3.289 MB / 1.963 GB, free: 90.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/5.728, allocations: 0 / 1.963 GB, free: 90.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/5.729, allocations: 237.6 kB / 1.963 GB, free: 90.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.096e-05/5.729, allocations: 5.781 kB / 1.963 GB, free: 90.88 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/5.729, allocations: 34.69 kB / 1.963 GB, free: 90.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.947e-06/5.729, allocations: 7.375 kB / 1.963 GB, free: 90.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/5.729, allocations: 5.281 kB / 1.963 GB, free: 90.88 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005191/5.735, allocations: 2.75 MB / 1.965 GB, free: 90.46 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/5.736, allocations: 396.1 kB / 1.966 GB, free: 90.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000509/5.736, allocations: 14.09 kB / 1.966 GB, free: 90.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001671/5.738, allocations: 151.4 kB / 1.966 GB, free: 90.26 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/5.738, allocations: 76.53 kB / 1.966 GB, free: 90.26 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001287/5.738, allocations: 63.61 kB / 1.966 GB, free: 90.26 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001473/5.74, allocations: 0.6634 MB / 1.967 GB, free: 90.15 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/5.74, allocations: 0 / 1.967 GB, free: 90.15 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004102/5.744, allocations: 0.8844 MB / 1.968 GB, free: 90.02 MB / 0.6823 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) * 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.002643/5.747, allocations: 0.9813 MB / 1.969 GB, free: 89.77 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003403/5.75, allocations: 2.214 MB / 1.971 GB, free: 89.15 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/5.75, allocations: 0 / 1.971 GB, free: 89.15 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001146/5.751, allocations: 0.886 MB / 1.972 GB, free: 88.68 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00321/5.754, allocations: 0.5099 MB / 1.972 GB, free: 88.58 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004811/5.759, allocations: 2.4 MB / 1.975 GB, free: 87.54 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007105/5.76, allocations: 1.313 MB / 1.976 GB, free: 86.78 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002232/5.762, allocations: 477.3 kB / 1.976 GB, free: 86.69 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003014/5.763, allocations: 113.7 kB / 1.976 GB, free: 86.68 MB / 0.6823 GB Notification: Performance of SimCode: time 1.092e-06/5.763, allocations: 0 / 1.976 GB, free: 86.68 MB / 0.6823 GB Notification: Performance of Templates: time 0.05313/5.816, allocations: 31.1 MB / 2.007 GB, free: 64.03 MB / 0.6823 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)