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.001835/0.001835, allocations: 174.4 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9773/0.9773, allocations: 133.6 MB / 141.6 MB, free: 2.898 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.056/2.056, allocations: 221.5 MB / 395.5 MB, free: 10.83 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.001184/0.001184, allocations: 99.98 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.319e-05/3.299e-05, allocations: 4 kB / 0.5535 GB, free: 8.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7054/0.7055, allocations: 82.31 MB / 0.6339 GB, free: 40.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.067/1.773, allocations: 362.8 MB / 0.9882 GB, free: 5.586 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/1.773, allocations: 87.58 kB / 0.9883 GB, free: 5.543 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.436/6.209, allocations: 0.9473 GB / 1.936 GB, free: 88.62 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.246e-06/6.21, allocations: 0 / 1.936 GB, free: 88.62 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003011/6.21, allocations: 55.7 kB / 1.936 GB, free: 88.61 MB / 0.6823 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.005698/6.216, allocations: 1.865 MB / 1.937 GB, free: 87.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/6.216, allocations: 7.281 kB / 1.937 GB, free: 87.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003692/6.219, allocations: 0.6132 MB / 1.938 GB, free: 87.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004616/6.224, allocations: 1.433 MB / 1.939 GB, free: 87.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.361e-05/6.224, allocations: 35.44 kB / 1.939 GB, free: 87.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004226/6.225, allocations: 62.62 kB / 1.94 GB, free: 87.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002246/6.227, allocations: 0.8649 MB / 1.94 GB, free: 87.19 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002275/6.229, allocations: 1.045 MB / 1.941 GB, free: 87 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.93e-05/6.229, allocations: 5.312 kB / 1.941 GB, free: 87 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/6.229, allocations: 3.031 kB / 1.941 GB, free: 87 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/6.229, allocations: 25.81 kB / 1.941 GB, free: 87 MB / 0.6823 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.009097/6.238, allocations: 6.216 MB / 1.948 GB, free: 83.41 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/6.24, allocations: 0.9152 MB / 1.948 GB, free: 83.38 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006726/6.241, allocations: 0.4963 MB / 1.949 GB, free: 83.37 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00152/6.242, allocations: 2.259 MB / 1.951 GB, free: 80.84 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000919/6.243, allocations: 0.6499 MB / 1.952 GB, free: 80.68 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=100): time 4.018e-06/6.243, allocations: 0 / 1.952 GB, free: 80.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100): time 0.005211/6.248, allocations: 1.462 MB / 1.953 GB, free: 80.54 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.15e-05/6.248, allocations: 147.9 kB / 1.953 GB, free: 80.38 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001765/6.25, allocations: 0.8808 MB / 1.954 GB, free: 80.23 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001216/6.25, allocations: 29.45 kB / 1.954 GB, free: 80.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006769/6.251, allocations: 0.7026 MB / 1.955 GB, free: 79.97 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000331/6.251, allocations: 316.2 kB / 1.955 GB, free: 79.76 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.343e-05/6.251, allocations: 3.938 kB / 1.955 GB, free: 79.76 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001032/6.252, allocations: 347.4 kB / 1.956 GB, free: 79.46 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005876/6.252, allocations: 402.1 kB / 1.956 GB, free: 79.45 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007555/6.253, allocations: 0.6356 MB / 1.957 GB, free: 79.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002093/6.255, allocations: 0.6966 MB / 1.957 GB, free: 79.19 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/6.255, allocations: 0 / 1.957 GB, free: 79.19 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003625/6.259, allocations: 1.567 MB / 1.959 GB, free: 79.05 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000496/6.259, allocations: 1.706 MB / 1.96 GB, free: 77.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/6.259, allocations: 7.766 kB / 1.96 GB, free: 77.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.197e-05/6.259, allocations: 11.53 kB / 1.96 GB, free: 77.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/6.261, allocations: 285.3 kB / 1.961 GB, free: 77.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.323e-05/6.261, allocations: 10.06 kB / 1.961 GB, free: 77.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/6.262, allocations: 204.9 kB / 1.961 GB, free: 77.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001917/6.263, allocations: 63.98 kB / 1.961 GB, free: 77.28 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/6.263, allocations: 6.891 kB / 1.961 GB, free: 77.28 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003189/6.266, allocations: 1.439 MB / 1.962 GB, free: 77.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/6.266, allocations: 7.109 kB / 1.962 GB, free: 77.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/6.266, allocations: 7.531 kB / 1.962 GB, free: 77.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/6.267, allocations: 280.2 kB / 1.963 GB, free: 77.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/6.267, allocations: 9.938 kB / 1.963 GB, free: 77.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/6.269, allocations: 204.8 kB / 1.963 GB, free: 77.21 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001611/6.269, allocations: 60.2 kB / 1.963 GB, free: 77.21 MB / 0.6823 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 () * 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.0003634/6.269, allocations: 250.5 kB / 1.963 GB, free: 77.01 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003639/6.273, allocations: 1.493 MB / 1.965 GB, free: 76.87 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004338/6.273, allocations: 150.8 kB / 1.965 GB, free: 76.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00448/6.278, allocations: 2.051 MB / 1.967 GB, free: 76.67 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.032e-05/6.278, allocations: 20.8 kB / 1.967 GB, free: 76.67 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/6.278, allocations: 3.609 kB / 1.967 GB, free: 76.67 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/6.278, allocations: 7.141 kB / 1.967 GB, free: 76.67 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006922/6.285, allocations: 3.28 MB / 1.97 GB, free: 76.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/6.285, allocations: 6.062 kB / 1.97 GB, free: 76.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/6.286, allocations: 227.7 kB / 1.97 GB, free: 76.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.738e-05/6.286, allocations: 5 kB / 1.97 GB, free: 76.27 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/6.286, allocations: 34.95 kB / 1.97 GB, free: 76.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.187e-06/6.286, allocations: 10.86 kB / 1.97 GB, free: 76.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/6.286, allocations: 1.219 kB / 1.97 GB, free: 76.27 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004856/6.291, allocations: 2.748 MB / 1.973 GB, free: 75.85 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009486/6.292, allocations: 395.8 kB / 1.973 GB, free: 75.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004457/6.292, allocations: 18.05 kB / 1.973 GB, free: 75.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001565/6.294, allocations: 158 kB / 1.973 GB, free: 75.65 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/6.294, allocations: 71.45 kB / 1.974 GB, free: 75.65 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/6.294, allocations: 57.61 kB / 1.974 GB, free: 75.65 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001251/6.296, allocations: 0.6714 MB / 1.974 GB, free: 75.54 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/6.296, allocations: 0 / 1.974 GB, free: 75.54 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003605/6.299, allocations: 0.8849 MB / 1.975 GB, free: 75.41 MB / 0.6823 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) * 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.007466/6.307, allocations: 4.395 MB / 1.979 GB, free: 74.01 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003207/6.31, allocations: 2.204 MB / 1.982 GB, free: 73.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/6.31, allocations: 5.812 kB / 1.982 GB, free: 73.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/6.311, allocations: 0.8888 MB / 1.982 GB, free: 73.41 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002971/6.314, allocations: 0.5098 MB / 1.983 GB, free: 73.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007129/6.321, allocations: 2.756 MB / 1.986 GB, free: 72.65 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/6.322, allocations: 1.308 MB / 1.987 GB, free: 71.94 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002477/6.325, allocations: 478.3 kB / 1.987 GB, free: 71.92 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000855/6.326, allocations: 0.6342 MB / 1.988 GB, free: 71.91 MB / 0.6823 GB Notification: Performance of SimCode: time 9.62e-07/6.326, allocations: 0.6562 kB / 1.988 GB, free: 71.91 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09952/6.425, allocations: 44.96 MB / 2.032 GB, free: 60.72 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002031/6.425, allocations: 167.8 kB / 2.032 GB, free: 60.53 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.364/10.79, allocations: 0 / 2.032 GB, free: 60.53 MB / 0.6823 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)