Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.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.HeaterCooler_u,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_HeaterCooler_u",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.005829/0.005829, allocations: 171.2 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7449/0.7449, allocations: 135.2 MB / 151 MB, free: 13.82 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.465/1.465, allocations: 223.2 MB / 406.8 MB, free: 3.238 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.001015/0.001015, allocations: 84.78 kB / 489.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003975/0.0003974, allocations: 12 kB / 0.5691 GB, free: 14.11 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4429/0.4433, allocations: 82.3 MB / 0.6495 GB, free: 36.17 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.799/4.243, allocations: 1.894 GB / 2.544 GB, free: 80.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/4.243, allocations: 95.95 kB / 2.544 GB, free: 80.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.432/9.676, allocations: 1.051 GB / 3.595 GB, free: 58.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.263e-06/9.676, allocations: 0 / 3.595 GB, free: 58.93 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0005849/9.676, allocations: 47.98 kB / 3.595 GB, free: 58.88 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.0148/9.691, allocations: 2.384 MB / 3.597 GB, free: 56.44 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 8.796e-05/9.691, allocations: 8.031 kB / 3.597 GB, free: 56.43 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001317/9.693, allocations: 177.3 kB / 3.597 GB, free: 56.25 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007638/9.7, allocations: 0.6276 MB / 3.598 GB, free: 55.62 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009166/9.71, allocations: 1.44 MB / 3.599 GB, free: 54.13 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007215/9.71, allocations: 170.1 kB / 3.599 GB, free: 53.96 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001033/9.711, allocations: 120 kB / 3.599 GB, free: 53.84 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007681/9.719, allocations: 1.453 MB / 3.601 GB, free: 52.31 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001015/9.719, allocations: 3.938 kB / 3.601 GB, free: 52.31 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006082/9.72, allocations: 52 kB / 3.601 GB, free: 52.26 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001153/9.72, allocations: 46.22 kB / 3.601 GB, free: 52.21 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005593/9.726, allocations: 1.258 MB / 3.602 GB, free: 50.95 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.01985/9.746, allocations: 5.872 MB / 3.608 GB, free: 44.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003695/9.749, allocations: 1.172 MB / 3.609 GB, free: 43.55 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009754/9.75, allocations: 319.8 kB / 3.609 GB, free: 43.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002273/9.753, allocations: 0.6243 MB / 3.61 GB, free: 42.54 MB / 0.698 GB Notification: Performance of pre-optimization done (n=87): time 1.108e-05/9.753, allocations: 0 / 3.61 GB, free: 42.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.02115/9.774, allocations: 4.412 MB / 3.614 GB, free: 38 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002292/9.774, allocations: 188.9 kB / 3.614 GB, free: 37.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00658/9.781, allocations: 1.167 MB / 3.616 GB, free: 36.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006777/9.782, allocations: 45.7 kB / 3.616 GB, free: 36.55 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001724/9.784, allocations: 0.7279 MB / 3.616 GB, free: 35.81 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001043/9.785, allocations: 327.2 kB / 3.617 GB, free: 35.49 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002724/9.785, allocations: 20 kB / 3.617 GB, free: 35.47 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002633/9.785, allocations: 341.9 kB / 3.617 GB, free: 35.13 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001994/9.787, allocations: 485.7 kB / 3.617 GB, free: 34.66 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00226/9.79, allocations: 0.7142 MB / 3.618 GB, free: 33.86 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01879/9.808, allocations: 2.543 MB / 3.621 GB, free: 31.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.208e-05/9.808, allocations: 7.938 kB / 3.621 GB, free: 31.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00904/9.818, allocations: 1.824 MB / 3.622 GB, free: 29.44 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008369/9.818, allocations: 1.3 MB / 3.624 GB, free: 28.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-05/9.819, allocations: 4 kB / 3.624 GB, free: 28.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001952/9.821, allocations: 445.4 kB / 3.624 GB, free: 27.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/9.822, allocations: 175.7 kB / 3.624 GB, free: 27.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01245/9.835, allocations: 7.202 MB / 3.631 GB, free: 19.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003555/9.838, allocations: 155.7 kB / 3.631 GB, free: 19.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00049/9.839, allocations: 39.98 kB / 3.631 GB, free: 19.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/9.839, allocations: 4 kB / 3.631 GB, free: 19.59 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007086/9.846, allocations: 1.676 MB / 3.633 GB, free: 17.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.356e-05/9.846, allocations: 7.953 kB / 3.633 GB, free: 17.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001751/9.848, allocations: 443.2 kB / 3.634 GB, free: 17.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/9.849, allocations: 175.8 kB / 3.634 GB, free: 17.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0137/9.863, allocations: 8.223 MB / 3.642 GB, free: 8.512 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003424/9.866, allocations: 152.1 kB / 3.642 GB, free: 8.363 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004407/9.867, allocations: 39.98 kB / 3.642 GB, free: 8.324 MB / 0.698 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 11,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.002528/9.869, allocations: 0.4947 MB / 3.642 GB, free: 7.812 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/9.87, allocations: 177.9 kB / 3.643 GB, free: 7.641 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007473/9.878, allocations: 1.677 MB / 3.644 GB, free: 5.938 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.107e-05/9.878, allocations: 8 kB / 3.644 GB, free: 5.93 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/9.878, allocations: 4 kB / 3.644 GB, free: 5.926 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005537/9.884, allocations: 1.531 MB / 3.646 GB, free: 4.355 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01447/9.898, allocations: 3.553 MB / 3.649 GB, free: 0.668 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.442e-05/9.898, allocations: 4 kB / 3.649 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001473/9.9, allocations: 188 kB / 3.649 GB, free: 492 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009977/9.901, allocations: 236.5 kB / 3.65 GB, free: 256 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002032/9.901, allocations: 39.41 kB / 3.65 GB, free: 220 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009059/9.91, allocations: 2.707 MB / 3.652 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.871e-05/9.91, allocations: 7.938 kB / 3.652 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01132/9.922, allocations: 2.716 MB / 3.655 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002386/9.924, allocations: 363 kB / 3.655 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009515/9.925, allocations: 31.94 kB / 3.655 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00305/9.928, allocations: 143.7 kB / 3.655 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002948/9.928, allocations: 64.52 kB / 3.656 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002071/9.929, allocations: 43.94 kB / 3.656 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003604/9.932, allocations: 0.914 MB / 3.656 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.01e-07/9.932, allocations: 0 / 3.656 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.009692/9.942, allocations: 1.019 MB / 3.657 GB, free: 7.852 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.Xi[1],heaDyn.vol.dynBal.medium.T,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01887/9.961, allocations: 6.535 MB / 3.664 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.899/10.86, allocations: 2.936 MB / 3.667 GB, free: 100.9 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-05/10.86, allocations: 4.562 kB / 3.667 GB, free: 100.9 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003719/10.86, allocations: 0.8078 MB / 3.667 GB, free: 100.7 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01033/10.87, allocations: 0.8518 MB / 3.668 GB, free: 100.7 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05554/10.93, allocations: 12.82 MB / 3.681 GB, free: 95.25 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003178/10.93, allocations: 1.391 MB / 3.682 GB, free: 94.54 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004494/10.94, allocations: 344.4 kB / 3.683 GB, free: 94.52 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002353/10.94, allocations: 0.624 MB / 3.683 GB, free: 94.52 MB / 0.7136 GB Notification: Performance of SimCode: time 3.807e-06/10.94, allocations: 0 / 3.683 GB, free: 94.52 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2821/11.22, allocations: 83.99 MB / 3.765 GB, free: 92.27 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003527/11.22, allocations: 252.1 kB / 3.765 GB, free: 91.93 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.511/19.73, allocations: 2.188 kB / 3.765 GB, free: 91.93 MB / 0.7136 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_HeaterCooler_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_HeaterCooler_u.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)