Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet") translateModel(IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.006285/0.006285, allocations: 172 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7264/0.7264, allocations: 135.2 MB / 151.1 MB, free: 13.79 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.489/1.489, allocations: 223.2 MB / 406.9 MB, free: 3.207 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.001339/0.001339, allocations: 96.83 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003714, allocations: 8 kB / 0.5691 GB, free: 14.17 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4812/0.4816, allocations: 82.3 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8274/1.309, allocations: 363.6 MB / 1.005 GB, free: 9.828 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/1.309, allocations: 93.77 kB / 1.005 GB, free: 9.777 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.867/5.176, allocations: 0.9548 GB / 1.959 GB, free: 109.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.886e-06/5.176, allocations: 9.922 kB / 1.959 GB, free: 109.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001494/5.177, allocations: 54.41 kB / 1.959 GB, free: 109.3 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.004634/5.181, allocations: 2.176 MB / 1.962 GB, free: 108.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/5.181, allocations: 16.44 kB / 1.962 GB, free: 108.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00319/5.184, allocations: 0.5987 MB / 1.962 GB, free: 108.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003695/5.188, allocations: 1.454 MB / 1.964 GB, free: 107.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.816e-05/5.188, allocations: 78.56 kB / 1.964 GB, free: 107.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001894/5.188, allocations: 107.8 kB / 1.964 GB, free: 107.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002751/5.191, allocations: 1.369 MB / 1.965 GB, free: 107.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/5.191, allocations: 3.844 kB / 1.965 GB, free: 107.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/5.191, allocations: 46.59 kB / 1.965 GB, free: 107.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/5.191, allocations: 22.72 kB / 1.965 GB, free: 107.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002946/5.194, allocations: 1.269 MB / 1.966 GB, free: 107.4 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.008074/5.202, allocations: 6.427 MB / 1.973 GB, free: 103.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002728/5.205, allocations: 1.274 MB / 1.974 GB, free: 103.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001382/5.207, allocations: 2.264 MB / 1.976 GB, free: 101.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001621/5.208, allocations: 0.8422 MB / 1.977 GB, free: 101.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=100): time 3.125e-06/5.208, allocations: 4.438 kB / 1.977 GB, free: 101.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=100): time 0.005191/5.213, allocations: 2.501 MB / 1.979 GB, free: 100.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.743e-05/5.214, allocations: 149.9 kB / 1.98 GB, free: 100.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001457/5.215, allocations: 1.044 MB / 1.981 GB, free: 100.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001257/5.215, allocations: 48.67 kB / 1.981 GB, free: 100.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005006/5.216, allocations: 0.6836 MB / 1.981 GB, free: 99.97 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000258/5.216, allocations: 324.8 kB / 1.982 GB, free: 99.77 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.039e-05/5.216, allocations: 21.53 kB / 1.982 GB, free: 99.77 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.58e-05/5.216, allocations: 343.9 kB / 1.982 GB, free: 99.46 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/5.217, allocations: 0.5863 MB / 1.983 GB, free: 99.46 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/5.219, allocations: 0.8273 MB / 1.983 GB, free: 99.21 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/5.22, allocations: 0.7118 MB / 1.984 GB, free: 99.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/5.22, allocations: 5.875 kB / 1.984 GB, free: 99.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003931/5.224, allocations: 1.814 MB / 1.986 GB, free: 98.86 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003754/5.225, allocations: 1.71 MB / 1.987 GB, free: 97.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/5.225, allocations: 7.109 kB / 1.987 GB, free: 97.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/5.225, allocations: 12.09 kB / 1.987 GB, free: 97.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/5.226, allocations: 274.8 kB / 1.988 GB, free: 97.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/5.226, allocations: 19.16 kB / 1.988 GB, free: 97.03 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001842/5.228, allocations: 238.9 kB / 1.988 GB, free: 96.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000154/5.228, allocations: 63.12 kB / 1.988 GB, free: 96.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/5.228, allocations: 3.281 kB / 1.988 GB, free: 96.98 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003448/5.231, allocations: 1.717 MB / 1.99 GB, free: 96.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/5.231, allocations: 3.188 kB / 1.99 GB, free: 96.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/5.231, allocations: 10.75 kB / 1.99 GB, free: 96.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/5.233, allocations: 282.7 kB / 1.99 GB, free: 96.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/5.233, allocations: 6.375 kB / 1.99 GB, free: 96.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001923/5.235, allocations: 235.7 kB / 1.99 GB, free: 96.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/5.235, allocations: 62.39 kB / 1.99 GB, free: 96.79 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.00105/5.236, allocations: 0.4904 MB / 1.991 GB, free: 96.49 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003114/5.236, allocations: 164.6 kB / 1.991 GB, free: 96.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004523/5.241, allocations: 2.375 MB / 1.993 GB, free: 96.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.661e-05/5.241, allocations: 18.19 kB / 1.993 GB, free: 96.16 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/5.241, allocations: 0 / 1.993 GB, free: 96.16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/5.241, allocations: 6.562 kB / 1.993 GB, free: 96.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006928/5.248, allocations: 3.728 MB / 1.997 GB, free: 95.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/5.248, allocations: 3.875 kB / 1.997 GB, free: 95.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/5.249, allocations: 238.3 kB / 1.997 GB, free: 95.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.357e-06/5.249, allocations: 6.844 kB / 1.997 GB, free: 95.58 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.316e-05/5.249, allocations: 40.95 kB / 1.997 GB, free: 95.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/5.249, allocations: 3.906 kB / 1.997 GB, free: 95.58 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.812e-06/5.249, allocations: 14.88 kB / 1.997 GB, free: 95.57 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005802/5.255, allocations: 3.236 MB / 2 GB, free: 94.74 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/5.256, allocations: 405.7 kB / 2.001 GB, free: 94.48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002146/5.256, allocations: 25.84 kB / 2.001 GB, free: 94.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/5.257, allocations: 177.8 kB / 2.001 GB, free: 94.43 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/5.257, allocations: 72.44 kB / 2.001 GB, free: 94.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001226/5.257, allocations: 62.89 kB / 2.001 GB, free: 94.41 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001152/5.259, allocations: 0.8097 MB / 2.002 GB, free: 94.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.5e-07/5.259, allocations: 0 / 2.002 GB, free: 94.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002717/5.261, allocations: 0.928 MB / 2.003 GB, free: 93.89 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.001787/5.263, allocations: 0.9762 MB / 2.004 GB, free: 93.54 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00511/5.268, allocations: 2.758 MB / 2.006 GB, free: 92.42 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/5.268, allocations: 7.906 kB / 2.006 GB, free: 92.41 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001743/5.27, allocations: 1.084 MB / 2.008 GB, free: 91.93 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002849/5.273, allocations: 0.5904 MB / 2.008 GB, free: 91.78 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005543/5.278, allocations: 3.731 MB / 2.012 GB, free: 88.69 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006381/5.279, allocations: 1.305 MB / 2.013 GB, free: 87.59 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001729/5.281, allocations: 419.1 kB / 2.013 GB, free: 87.31 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003498/5.281, allocations: 138.8 kB / 2.014 GB, free: 87.19 MB / 0.698 GB Notification: Performance of SimCode: time 1.352e-06/5.281, allocations: 0 / 2.014 GB, free: 87.19 MB / 0.698 GB Notification: Performance of Templates: time 0.05507/5.336, allocations: 33.7 MB / 2.046 GB, free: 55.36 MB / 0.698 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)