Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="IDEAS_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.006063/0.006063, allocations: 169.4 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7427/0.7427, 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.522/1.522, allocations: 223.2 MB / 406.8 MB, free: 3.223 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.001043/0.001043, allocations: 95.25 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003413, allocations: 8 kB / 0.5691 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4127, allocations: 82.31 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8266/1.239, allocations: 363.6 MB / 1.005 GB, free: 9.785 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/1.24, allocations: 93.94 kB / 1.005 GB, free: 9.734 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.664/4.904, allocations: 0.9548 GB / 1.959 GB, free: 109.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.808e-06/4.904, allocations: 0 / 1.959 GB, free: 109.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001907/4.904, allocations: 53.22 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.005839/4.91, allocations: 2.185 MB / 1.962 GB, free: 108.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/4.91, allocations: 7.094 kB / 1.962 GB, free: 108.1 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00044/4.911, allocations: 157.3 kB / 1.962 GB, free: 108.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003402/4.914, allocations: 0.6086 MB / 1.962 GB, free: 108 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00398/4.918, allocations: 1.452 MB / 1.964 GB, free: 107.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.661e-05/4.918, allocations: 77.5 kB / 1.964 GB, free: 107.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/4.918, allocations: 113.8 kB / 1.964 GB, free: 107.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002745/4.921, allocations: 1.36 MB / 1.965 GB, free: 107.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/4.921, allocations: 10.38 kB / 1.965 GB, free: 107.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/4.921, allocations: 42.53 kB / 1.965 GB, free: 107.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.945e-05/4.921, allocations: 22.44 kB / 1.965 GB, free: 107.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003001/4.924, allocations: 1.271 MB / 1.967 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.008315/4.933, allocations: 6.425 MB / 1.973 GB, free: 103.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002965/4.936, allocations: 1.279 MB / 1.974 GB, free: 103.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001481/4.937, allocations: 2.259 MB / 1.976 GB, free: 101.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001775/4.939, allocations: 0.8484 MB / 1.977 GB, free: 101 MB / 0.698 GB Notification: Performance of pre-optimization done (n=100): time 4.328e-06/4.939, allocations: 0 / 1.977 GB, free: 101 MB / 0.698 GB Notification: Performance of matching and sorting (n=100): time 0.005491/4.945, allocations: 2.5 MB / 1.98 GB, free: 100.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/4.945, allocations: 151 kB / 1.98 GB, free: 100.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001704/4.946, allocations: 1.046 MB / 1.981 GB, free: 100.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001662/4.947, allocations: 43.7 kB / 1.981 GB, free: 100.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005486/4.947, allocations: 0.6903 MB / 1.982 GB, free: 99.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003184/4.947, allocations: 324.4 kB / 1.982 GB, free: 99.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.165e-05/4.948, allocations: 21.25 kB / 1.982 GB, free: 99.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.193e-05/4.948, allocations: 345.8 kB / 1.982 GB, free: 99.39 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001425/4.949, allocations: 0.5856 MB / 1.983 GB, free: 99.39 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001544/4.951, allocations: 0.8293 MB / 1.984 GB, free: 99.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001498/4.952, allocations: 0.7154 MB / 1.984 GB, free: 99.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/4.952, allocations: 0 / 1.984 GB, free: 99.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004/4.956, allocations: 1.813 MB / 1.986 GB, free: 98.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004196/4.957, allocations: 1.713 MB / 1.988 GB, free: 96.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/4.957, allocations: 7.078 kB / 1.988 GB, free: 96.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.061e-05/4.957, allocations: 11.62 kB / 1.988 GB, free: 96.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/4.958, allocations: 280.1 kB / 1.988 GB, free: 96.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/4.958, allocations: 9.594 kB / 1.988 GB, free: 96.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/4.96, allocations: 236.6 kB / 1.988 GB, free: 96.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001599/4.96, allocations: 63.25 kB / 1.988 GB, free: 96.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/4.96, allocations: 5.062 kB / 1.988 GB, free: 96.9 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003439/4.963, allocations: 1.713 MB / 1.99 GB, free: 96.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/4.963, allocations: 7.031 kB / 1.99 GB, free: 96.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/4.963, allocations: 8.75 kB / 1.99 GB, free: 96.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/4.964, allocations: 281.7 kB / 1.99 GB, free: 96.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/4.964, allocations: 10.75 kB / 1.99 GB, free: 96.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/4.966, allocations: 230.1 kB / 1.99 GB, free: 96.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/4.966, allocations: 62.81 kB / 1.991 GB, free: 96.71 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.0009899/4.967, allocations: 0.4906 MB / 1.991 GB, free: 96.41 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004281/4.968, allocations: 162.9 kB / 1.991 GB, free: 96.33 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004765/4.973, allocations: 2.375 MB / 1.993 GB, free: 96.08 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.403e-05/4.973, allocations: 17.08 kB / 1.993 GB, free: 96.08 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/4.973, allocations: 3.938 kB / 1.993 GB, free: 96.08 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/4.973, allocations: 12.66 kB / 1.994 GB, free: 96.08 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006671/4.979, allocations: 3.729 MB / 1.997 GB, free: 95.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.679e-06/4.979, allocations: 5.078 kB / 1.997 GB, free: 95.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/4.981, allocations: 229.7 kB / 1.997 GB, free: 95.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/4.981, allocations: 7.562 kB / 1.997 GB, free: 95.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.997e-05/4.981, allocations: 40.69 kB / 1.997 GB, free: 95.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.707e-06/4.981, allocations: 8.859 kB / 1.997 GB, free: 95.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/4.981, allocations: 4 kB / 1.997 GB, free: 95.49 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005748/4.986, allocations: 3.24 MB / 2.001 GB, free: 94.63 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/4.988, allocations: 404.5 kB / 2.001 GB, free: 94.36 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002565/4.988, allocations: 33.19 kB / 2.001 GB, free: 94.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/4.989, allocations: 179.8 kB / 2.001 GB, free: 94.31 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/4.989, allocations: 68.47 kB / 2.001 GB, free: 94.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/4.989, allocations: 59.62 kB / 2.001 GB, free: 94.29 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001231/4.991, allocations: 0.8084 MB / 2.002 GB, free: 93.98 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/4.991, allocations: 0 / 2.002 GB, free: 93.98 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002649/4.993, allocations: 0.9258 MB / 2.003 GB, free: 93.78 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.007107/5, allocations: 4.892 MB / 2.008 GB, free: 91.36 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004947/5.005, allocations: 2.755 MB / 2.01 GB, free: 89.82 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/5.005, allocations: 0 / 2.01 GB, free: 89.82 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001713/5.007, allocations: 1.087 MB / 2.012 GB, free: 88.82 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00277/5.01, allocations: 0.5867 MB / 2.012 GB, free: 88.39 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01722/5.027, allocations: 12.84 MB / 2.025 GB, free: 75.96 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006713/5.028, allocations: 1.309 MB / 2.026 GB, free: 74.63 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001712/5.03, allocations: 412.2 kB / 2.026 GB, free: 74.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007677/5.03, allocations: 0.6593 MB / 2.027 GB, free: 73.61 MB / 0.698 GB Notification: Performance of SimCode: time 1.152e-06/5.03, allocations: 0 / 2.027 GB, free: 73.61 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08855/5.119, allocations: 50.03 MB / 2.076 GB, free: 24.98 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/5.119, allocations: 220.1 kB / 2.076 GB, free: 24.73 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.855/8.974, allocations: 0 / 2.076 GB, free: 24.73 MB / 0.698 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Validation_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_Validation_PrescribedOutlet.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)