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: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007015/0.007015, allocations: 170.8 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.7802/0.7802, allocations: 135.2 MB / 151 MB, free: 13.86 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.522/1.522, allocations: 223.2 MB / 406.8 MB, free: 3.242 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.0009387/0.0009389, allocations: 93.36 kB / 489.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003412/0.0003412, allocations: 8 kB / 0.5691 GB, free: 14.11 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4452/0.4455, allocations: 82.3 MB / 0.6495 GB, free: 36.17 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7657/1.211, allocations: 363.6 MB / 1.005 GB, free: 9.723 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/1.212, allocations: 93.95 kB / 1.005 GB, free: 9.672 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.43/4.642, allocations: 0.9548 GB / 1.959 GB, free: 109 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.914e-06/4.642, allocations: 0 / 1.959 GB, free: 109 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000147/4.642, allocations: 52.3 kB / 1.959 GB, free: 109 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.00438/4.646, allocations: 2.189 MB / 1.962 GB, free: 107.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/4.646, allocations: 10.47 kB / 1.962 GB, free: 107.9 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002181/4.647, allocations: 155.9 kB / 1.962 GB, free: 107.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003009/4.65, allocations: 0.606 MB / 1.962 GB, free: 107.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003398/4.653, allocations: 1.45 MB / 1.964 GB, free: 107.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.169e-05/4.653, allocations: 83.72 kB / 1.964 GB, free: 107.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000179/4.653, allocations: 104.1 kB / 1.964 GB, free: 107.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002576/4.656, allocations: 1.368 MB / 1.965 GB, free: 107.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/4.656, allocations: 3.375 kB / 1.965 GB, free: 107.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/4.656, allocations: 41.22 kB / 1.965 GB, free: 107.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/4.656, allocations: 26.66 kB / 1.965 GB, free: 107.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003007/4.659, allocations: 1.273 MB / 1.967 GB, free: 107.1 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.007764/4.667, allocations: 6.416 MB / 1.973 GB, free: 103.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002956/4.67, allocations: 1.278 MB / 1.974 GB, free: 103.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001383/4.671, allocations: 2.26 MB / 1.976 GB, free: 100.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001651/4.673, allocations: 0.8483 MB / 1.977 GB, free: 100.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=100): time 3.477e-06/4.673, allocations: 6.578 kB / 1.977 GB, free: 100.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=100): time 0.005272/4.678, allocations: 2.5 MB / 1.98 GB, free: 100.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/4.678, allocations: 147.7 kB / 1.98 GB, free: 100 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/4.68, allocations: 1.042 MB / 1.981 GB, free: 99.88 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001175/4.68, allocations: 46.33 kB / 1.981 GB, free: 99.85 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005105/4.68, allocations: 0.6905 MB / 1.981 GB, free: 99.63 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002555/4.681, allocations: 324.9 kB / 1.982 GB, free: 99.43 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.269e-05/4.681, allocations: 17 kB / 1.982 GB, free: 99.43 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.101e-05/4.681, allocations: 347.5 kB / 1.982 GB, free: 99.12 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/4.682, allocations: 0.5818 MB / 1.983 GB, free: 99.12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001504/4.684, allocations: 0.8336 MB / 1.984 GB, free: 98.88 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/4.685, allocations: 0.7178 MB / 1.984 GB, free: 98.77 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/4.685, allocations: 0 / 1.984 GB, free: 98.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003836/4.689, allocations: 1.808 MB / 1.986 GB, free: 98.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003791/4.69, allocations: 1.723 MB / 1.988 GB, free: 96.72 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/4.69, allocations: 2.156 kB / 1.988 GB, free: 96.72 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.659e-05/4.69, allocations: 10.62 kB / 1.988 GB, free: 96.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/4.691, allocations: 279.1 kB / 1.988 GB, free: 96.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/4.691, allocations: 9.156 kB / 1.988 GB, free: 96.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/4.693, allocations: 235.6 kB / 1.988 GB, free: 96.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001517/4.693, allocations: 66.52 kB / 1.988 GB, free: 96.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/4.693, allocations: 3.938 kB / 1.988 GB, free: 96.66 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003457/4.696, allocations: 1.714 MB / 1.99 GB, free: 96.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/4.696, allocations: 3.812 kB / 1.99 GB, free: 96.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/4.696, allocations: 12.23 kB / 1.99 GB, free: 96.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/4.697, allocations: 280.4 kB / 1.99 GB, free: 96.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/4.697, allocations: 14.34 kB / 1.99 GB, free: 96.51 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001834/4.699, allocations: 230.6 kB / 1.99 GB, free: 96.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/4.699, allocations: 60.67 kB / 1.991 GB, free: 96.47 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.00107/4.7, allocations: 0.4947 MB / 1.991 GB, free: 96.17 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003445/4.701, allocations: 159.6 kB / 1.991 GB, free: 96.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00473/4.706, allocations: 2.375 MB / 1.993 GB, free: 95.84 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.647e-05/4.706, allocations: 20.36 kB / 1.993 GB, free: 95.84 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/4.706, allocations: 0 / 1.993 GB, free: 95.84 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/4.706, allocations: 6.594 kB / 1.993 GB, free: 95.84 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006492/4.712, allocations: 3.732 MB / 1.997 GB, free: 95.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/4.712, allocations: 3.953 kB / 1.997 GB, free: 95.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/4.713, allocations: 235 kB / 1.997 GB, free: 95.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.846e-06/4.713, allocations: 7.406 kB / 1.997 GB, free: 95.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.975e-05/4.713, allocations: 45.33 kB / 1.997 GB, free: 95.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/4.713, allocations: 7.125 kB / 1.997 GB, free: 95.24 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/4.713, allocations: 7.812 kB / 1.997 GB, free: 95.24 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005752/4.719, allocations: 3.234 MB / 2.001 GB, free: 94.67 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/4.72, allocations: 404.1 kB / 2.001 GB, free: 94.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002306/4.72, allocations: 33.8 kB / 2.001 GB, free: 94.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/4.722, allocations: 175.7 kB / 2.001 GB, free: 94.35 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/4.722, allocations: 77.22 kB / 2.001 GB, free: 94.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/4.722, allocations: 54.97 kB / 2.001 GB, free: 94.33 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001266/4.723, allocations: 0.8178 MB / 2.002 GB, free: 94.02 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/4.723, allocations: 0 / 2.002 GB, free: 94.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003147/4.727, allocations: 0.9197 MB / 2.003 GB, free: 93.81 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.007168/4.734, allocations: 4.879 MB / 2.008 GB, free: 91.39 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004971/4.739, allocations: 2.758 MB / 2.01 GB, free: 89.74 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/4.739, allocations: 0 / 2.01 GB, free: 89.74 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001665/4.74, allocations: 1.093 MB / 2.012 GB, free: 88.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002693/4.743, allocations: 0.5974 MB / 2.012 GB, free: 88.31 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01656/4.76, allocations: 12.82 MB / 2.025 GB, free: 75.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006545/4.76, allocations: 1.31 MB / 2.026 GB, free: 74.65 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001655/4.762, allocations: 414.7 kB / 2.026 GB, free: 74.29 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009565/4.763, allocations: 0.6555 MB / 2.027 GB, free: 73.63 MB / 0.698 GB Notification: Performance of SimCode: time 1.102e-06/4.763, allocations: 4 kB / 2.027 GB, free: 73.63 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07839/4.841, allocations: 50.04 MB / 2.076 GB, free: 25 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/4.842, allocations: 216.7 kB / 2.076 GB, free: 24.76 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.797/11.64, allocations: 0 / 2.076 GB, free: 24.76 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_PrescribedOutlet.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)