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.001493/0.001493, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7804/0.7804, allocations: 133.4 MB / 146.7 MB, free: 10.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.69/1.69, allocations: 221.3 MB / 400.4 MB, free: 5.859 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009187/0.0009188, allocations: 97.98 kB / 483.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.245e-05/3.247e-05, allocations: 6.906 kB / 0.56 GB, free: 87.94 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1704, allocations: 82.3 MB / 0.6404 GB, free: 7.844 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.435/1.606, allocations: 363.7 MB / 0.9956 GB, free: 206.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/1.606, allocations: 84.31 kB / 0.9957 GB, free: 206.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.998/7.604, allocations: 1.534 GB / 2.53 GB, free: 19.86 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.946e-06/7.604, allocations: 4 kB / 2.53 GB, free: 19.86 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003973/7.604, allocations: 55.92 kB / 2.53 GB, free: 19.8 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.008097/7.613, allocations: 1.861 MB / 2.532 GB, free: 17.87 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/7.613, allocations: 14.81 kB / 2.532 GB, free: 17.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00405/7.617, allocations: 0.6104 MB / 2.532 GB, free: 17.25 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004353/7.621, allocations: 1.434 MB / 2.534 GB, free: 15.76 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.551e-05/7.621, allocations: 82 kB / 2.534 GB, free: 15.68 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/7.621, allocations: 112 kB / 2.534 GB, free: 15.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/7.623, allocations: 1.207 MB / 2.535 GB, free: 14.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/7.623, allocations: 3.938 kB / 2.535 GB, free: 14.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.593e-05/7.623, allocations: 40 kB / 2.535 GB, free: 14.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/7.623, allocations: 24.52 kB / 2.535 GB, free: 14.22 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/7.625, allocations: 0.9022 MB / 2.536 GB, free: 13.32 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.007223/7.632, allocations: 6.648 MB / 2.542 GB, free: 6.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/7.633, allocations: 0.9251 MB / 2.543 GB, free: 5.223 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006002/7.634, allocations: 0.5108 MB / 2.544 GB, free: 4.711 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001404/7.635, allocations: 2.26 MB / 2.546 GB, free: 1.953 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008185/7.636, allocations: 0.6664 MB / 2.547 GB, free: 1.254 MB / 0.698 GB Notification: Performance of pre-optimization done (n=97): time 2.986e-06/7.636, allocations: 0 / 2.547 GB, free: 1.254 MB / 0.698 GB Notification: Performance of matching and sorting (n=97): time 0.002207/7.638, allocations: 1.316 MB / 2.548 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/7.639, allocations: 149.3 kB / 2.548 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/7.64, allocations: 1.034 MB / 2.549 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001189/7.64, allocations: 45.7 kB / 2.549 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007308/7.641, allocations: 0.6975 MB / 2.55 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003627/7.641, allocations: 327.3 kB / 2.55 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.521e-05/7.642, allocations: 16 kB / 2.55 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001793/7.642, allocations: 345.9 kB / 2.551 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007841/7.643, allocations: 426.2 kB / 2.551 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/7.644, allocations: 0.7033 MB / 2.552 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008477/7.644, allocations: 0.5542 MB / 2.552 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/7.644, allocations: 4 kB / 2.552 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002937/7.647, allocations: 1.499 MB / 2.554 GB, free: 9.922 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001233/7.649, allocations: 2.254 MB / 2.556 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/7.649, allocations: 4 kB / 2.556 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.395e-05/7.649, allocations: 12 kB / 2.556 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/7.65, allocations: 295.5 kB / 2.556 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.604e-05/7.65, allocations: 8 kB / 2.556 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001992/7.652, allocations: 246.8 kB / 2.556 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00021/7.652, allocations: 71.97 kB / 2.556 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/7.652, allocations: 4 kB / 2.556 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00261/7.655, allocations: 1.402 MB / 2.558 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/7.655, allocations: 12 kB / 2.558 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/7.655, allocations: 8 kB / 2.558 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/7.656, allocations: 287.9 kB / 2.558 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.661e-05/7.656, allocations: 15.92 kB / 2.558 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002097/7.658, allocations: 242.9 kB / 2.558 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001835/7.659, allocations: 59.97 kB / 2.558 GB, free: 4.789 MB / 0.7136 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.0004948/7.659, allocations: 275.6 kB / 2.559 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005068/7.66, allocations: 158.1 kB / 2.559 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004226/7.664, allocations: 2.005 MB / 2.561 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.113e-05/7.664, allocations: 19.98 kB / 2.561 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/7.664, allocations: 3.828 kB / 2.561 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/7.664, allocations: 7.969 kB / 2.561 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6669/8.331, allocations: 3.345 MB / 2.564 GB, free: 86.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.719e-05/8.331, allocations: 0.8125 kB / 2.564 GB, free: 86.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/8.332, allocations: 225.9 kB / 2.564 GB, free: 86.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-05/8.332, allocations: 9.031 kB / 2.564 GB, free: 86.6 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001331/8.332, allocations: 44.42 kB / 2.564 GB, free: 86.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.079e-05/8.332, allocations: 3.406 kB / 2.564 GB, free: 86.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/8.332, allocations: 4.672 kB / 2.564 GB, free: 86.6 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005498/8.338, allocations: 2.7 MB / 2.567 GB, free: 86.2 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001345/8.339, allocations: 407.1 kB / 2.567 GB, free: 86.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002434/8.34, allocations: 26.62 kB / 2.567 GB, free: 86.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/8.341, allocations: 166.4 kB / 2.568 GB, free: 86.09 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002124/8.341, allocations: 78.72 kB / 2.568 GB, free: 86.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001472/8.341, allocations: 58.72 kB / 2.568 GB, free: 86.09 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001557/8.343, allocations: 0.7955 MB / 2.569 GB, free: 85.98 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.473e-06/8.343, allocations: 0 / 2.569 GB, free: 85.98 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003772/8.347, allocations: 0.923 MB / 2.569 GB, free: 85.95 MB / 0.7136 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.002533/8.349, allocations: 0.9721 MB / 2.57 GB, free: 85.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004113/8.353, allocations: 2.311 MB / 2.573 GB, free: 85.4 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/8.353, allocations: 0 / 2.573 GB, free: 85.4 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001334/8.355, allocations: 0.9004 MB / 2.574 GB, free: 85.21 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003465/8.358, allocations: 0.5954 MB / 2.574 GB, free: 85.21 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005414/8.364, allocations: 2.678 MB / 2.577 GB, free: 84.55 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008188/8.364, allocations: 1.311 MB / 2.578 GB, free: 83.84 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002731/8.367, allocations: 499.7 kB / 2.578 GB, free: 83.82 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004104/8.368, allocations: 125 kB / 2.579 GB, free: 83.82 MB / 0.7136 GB Notification: Performance of SimCode: time 2.014e-06/8.368, allocations: 2.625 kB / 2.579 GB, free: 83.82 MB / 0.7136 GB Notification: Performance of Templates: time 0.07721/8.445, allocations: 37.76 MB / 2.615 GB, free: 82.44 MB / 0.7136 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)