Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_HeatExchangers_Validation_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="IDEAS_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.01103/0.01103, allocations: 171.6 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.9715/0.9715, allocations: 135.2 MB / 151 MB, free: 13.81 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.537/1.537, allocations: 223.2 MB / 406.8 MB, free: 3.156 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.001059/0.001059, allocations: 102.8 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004031/0.0004032, allocations: 8 kB / 0.5691 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.494/0.4945, allocations: 82.31 MB / 0.6495 GB, free: 36.17 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.4/4.895, allocations: 1.894 GB / 2.544 GB, free: 43.56 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/4.895, allocations: 98.06 kB / 2.544 GB, free: 43.51 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.967/8.862, allocations: 1.051 GB / 3.595 GB, free: 29.31 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.433e-06/8.862, allocations: 0 / 3.595 GB, free: 29.31 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001662/8.862, allocations: 47.92 kB / 3.595 GB, free: 29.27 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.005819/8.868, allocations: 2.372 MB / 3.597 GB, free: 26.82 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/8.868, allocations: 12.03 kB / 3.597 GB, free: 26.81 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003952/8.868, allocations: 181.3 kB / 3.597 GB, free: 26.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004148/8.872, allocations: 0.6269 MB / 3.598 GB, free: 25.99 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003714/8.876, allocations: 1.442 MB / 3.599 GB, free: 24.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003532/8.877, allocations: 166.2 kB / 3.599 GB, free: 24.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002835/8.877, allocations: 123.9 kB / 3.599 GB, free: 24.21 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002594/8.879, allocations: 1.457 MB / 3.601 GB, free: 22.68 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/8.879, allocations: 0 / 3.601 GB, free: 22.68 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/8.88, allocations: 51.98 kB / 3.601 GB, free: 22.63 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.29e-05/8.88, allocations: 50.17 kB / 3.601 GB, free: 22.58 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002324/8.882, allocations: 1.25 MB / 3.602 GB, free: 21.32 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.009021/8.891, allocations: 5.874 MB / 3.608 GB, free: 15.13 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/8.893, allocations: 1.157 MB / 3.609 GB, free: 13.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005193/8.893, allocations: 319.9 kB / 3.609 GB, free: 13.56 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001071/8.894, allocations: 0.6246 MB / 3.61 GB, free: 12.92 MB / 0.698 GB Notification: Performance of pre-optimization done (n=87): time 5.06e-06/8.894, allocations: 11.94 kB / 3.61 GB, free: 12.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.01111/8.906, allocations: 4.419 MB / 3.614 GB, free: 8.355 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.375e-05/8.906, allocations: 192.9 kB / 3.614 GB, free: 8.125 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00171/8.907, allocations: 1.159 MB / 3.616 GB, free: 6.961 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001363/8.908, allocations: 45.7 kB / 3.616 GB, free: 6.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005216/8.908, allocations: 0.7254 MB / 3.616 GB, free: 6.176 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/8.908, allocations: 331.2 kB / 3.617 GB, free: 5.848 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-05/8.908, allocations: 16 kB / 3.617 GB, free: 5.832 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.328e-05/8.908, allocations: 345.9 kB / 3.617 GB, free: 5.488 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008667/8.909, allocations: 485.7 kB / 3.617 GB, free: 5.012 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009565/8.91, allocations: 0.7142 MB / 3.618 GB, free: 4.215 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.011/8.921, allocations: 2.537 MB / 3.621 GB, free: 1.648 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/8.921, allocations: 4 kB / 3.621 GB, free: 1.645 MB / 0.698 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004474/8.926, allocations: 1.828 MB / 3.622 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000687/8.927, allocations: 1.296 MB / 3.624 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/8.927, allocations: 0 / 3.624 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001289/8.928, allocations: 459 kB / 3.624 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007978/8.929, allocations: 175.7 kB / 3.624 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009714/8.938, allocations: 7.216 MB / 3.631 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002328/8.941, allocations: 151.7 kB / 3.631 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001819/8.941, allocations: 39.98 kB / 3.631 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/8.941, allocations: 4 kB / 3.631 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004482/8.945, allocations: 1.676 MB / 3.633 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/8.946, allocations: 3.984 kB / 3.633 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001213/8.947, allocations: 447.5 kB / 3.634 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007577/8.948, allocations: 175.8 kB / 3.634 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4823/9.43, allocations: 8.196 MB / 3.642 GB, free: 98.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002273/9.432, allocations: 151.4 kB / 3.642 GB, free: 98.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001619/9.432, allocations: 38.92 kB / 3.642 GB, free: 98.2 MB / 0.7136 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.001282/9.434, allocations: 0.5063 MB / 3.642 GB, free: 97.98 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004687/9.434, allocations: 165.2 kB / 3.643 GB, free: 97.98 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004868/9.439, allocations: 1.685 MB / 3.644 GB, free: 97.87 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/9.439, allocations: 10.78 kB / 3.644 GB, free: 97.87 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/9.439, allocations: 0 / 3.644 GB, free: 97.87 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004108/9.443, allocations: 1.53 MB / 3.646 GB, free: 97.65 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00798/9.451, allocations: 3.549 MB / 3.649 GB, free: 97.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/9.451, allocations: 3.812 kB / 3.649 GB, free: 97.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009422/9.452, allocations: 189.2 kB / 3.649 GB, free: 97.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006553/9.453, allocations: 242.6 kB / 3.65 GB, free: 97.09 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/9.453, allocations: 31.27 kB / 3.65 GB, free: 97.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003254/9.456, allocations: 2.718 MB / 3.652 GB, free: 95.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/9.456, allocations: 7.906 kB / 3.652 GB, free: 95.33 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00542/9.462, allocations: 2.704 MB / 3.655 GB, free: 94.66 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00125/9.463, allocations: 367.1 kB / 3.655 GB, free: 94.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002495/9.463, allocations: 30.33 kB / 3.655 GB, free: 94.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00136/9.465, allocations: 144.3 kB / 3.655 GB, free: 94.53 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/9.465, allocations: 66.98 kB / 3.655 GB, free: 94.53 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.489e-05/9.465, allocations: 40.41 kB / 3.656 GB, free: 94.53 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001429/9.466, allocations: 0.9183 MB / 3.656 GB, free: 94.42 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.11e-07/9.466, allocations: 3 kB / 3.656 GB, free: 94.42 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004092/9.47, allocations: 1.018 MB / 3.657 GB, free: 94.42 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.0103/9.481, allocations: 6.526 MB / 3.664 GB, free: 91.43 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005463/9.486, allocations: 2.96 MB / 3.667 GB, free: 90.48 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/9.486, allocations: 2.969 kB / 3.667 GB, free: 90.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001353/9.488, allocations: 0.8062 MB / 3.667 GB, free: 90.3 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004484/9.492, allocations: 0.8557 MB / 3.668 GB, free: 90.28 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02124/9.513, allocations: 12.82 MB / 3.681 GB, free: 84.76 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/9.514, allocations: 1.388 MB / 3.682 GB, free: 84.04 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002009/9.516, allocations: 350.3 kB / 3.683 GB, free: 84.02 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008604/9.517, allocations: 0.6253 MB / 3.683 GB, free: 84.01 MB / 0.7136 GB Notification: Performance of SimCode: time 8.12e-07/9.517, allocations: 0 / 3.683 GB, free: 84.01 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1356/9.653, allocations: 83.99 MB / 3.765 GB, free: 81.25 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/9.653, allocations: 245.9 kB / 3.765 GB, free: 80.96 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.777/14.43, allocations: 0 / 3.765 GB, free: 80.96 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Validation_HeaterCooler_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_Validation_HeaterCooler_u.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)