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.001556/0.001555, allocations: 173.4 kB / 7.647 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.9729/0.9729, allocations: 133.6 MB / 141.6 MB, free: 2.914 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.657/1.657, allocations: 221.5 MB / 395.5 MB, free: 10.76 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.0008989/0.0008988, allocations: 95.62 kB / 478.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.38e-05/2.381e-05, allocations: 4 kB / 0.5536 GB, free: 8.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.528/0.528, allocations: 82.3 MB / 0.6339 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9448/1.473, allocations: 362.8 MB / 0.9883 GB, free: 8.047 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/1.473, allocations: 92.2 kB / 0.9883 GB, free: 8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.179/5.653, allocations: 0.9472 GB / 1.936 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.904e-06/5.653, allocations: 0 / 1.936 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001734/5.653, allocations: 45.88 kB / 1.936 GB, free: 104.5 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.004346/5.657, allocations: 1.869 MB / 1.937 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.052e-05/5.657, allocations: 10.03 kB / 1.937 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003447/5.661, allocations: 0.6047 MB / 1.938 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004035/5.665, allocations: 1.429 MB / 1.939 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.598e-05/5.665, allocations: 34.72 kB / 1.939 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/5.665, allocations: 72.03 kB / 1.94 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001791/5.667, allocations: 0.861 MB / 1.94 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/5.669, allocations: 1.047 MB / 1.941 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.562e-05/5.669, allocations: 7.062 kB / 1.941 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.138e-05/5.669, allocations: 6.875 kB / 1.941 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.932e-05/5.669, allocations: 26.88 kB / 1.941 GB, free: 102.7 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.009447/5.679, allocations: 6.222 MB / 1.948 GB, free: 99.01 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/5.68, allocations: 0.9025 MB / 1.948 GB, free: 98.98 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006742/5.681, allocations: 0.5006 MB / 1.949 GB, free: 98.97 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001784/5.683, allocations: 2.26 MB / 1.951 GB, free: 96.44 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008693/5.683, allocations: 0.6518 MB / 1.952 GB, free: 96.28 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=100): time 5.09e-06/5.683, allocations: 0 / 1.952 GB, free: 96.28 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100): time 0.003871/5.687, allocations: 1.456 MB / 1.953 GB, free: 96.13 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.016e-05/5.687, allocations: 150.5 kB / 1.953 GB, free: 95.98 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/5.689, allocations: 0.8874 MB / 1.954 GB, free: 95.83 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.888e-05/5.689, allocations: 29.17 kB / 1.954 GB, free: 95.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006834/5.69, allocations: 0.7025 MB / 1.955 GB, free: 95.55 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003556/5.69, allocations: 314.6 kB / 1.955 GB, free: 95.35 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.218e-05/5.69, allocations: 3.781 kB / 1.955 GB, free: 95.35 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001218/5.69, allocations: 336.9 kB / 1.956 GB, free: 95.05 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006293/5.691, allocations: 412.2 kB / 1.956 GB, free: 94.93 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007825/5.692, allocations: 0.6338 MB / 1.957 GB, free: 94.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002186/5.694, allocations: 0.698 MB / 1.957 GB, free: 94.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/5.694, allocations: 0 / 1.957 GB, free: 94.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003995/5.698, allocations: 1.57 MB / 1.959 GB, free: 93.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008054/5.699, allocations: 1.702 MB / 1.96 GB, free: 92.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/5.699, allocations: 3.25 kB / 1.96 GB, free: 92.04 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.312e-05/5.699, allocations: 13.67 kB / 1.96 GB, free: 92.03 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/5.7, allocations: 281 kB / 1.961 GB, free: 92.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.762e-05/5.7, allocations: 11.53 kB / 1.961 GB, free: 92.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00227/5.702, allocations: 214.5 kB / 1.961 GB, free: 91.97 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001967/5.703, allocations: 58.42 kB / 1.961 GB, free: 91.96 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/5.703, allocations: 6.281 kB / 1.961 GB, free: 91.96 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003854/5.706, allocations: 1.443 MB / 1.962 GB, free: 91.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/5.706, allocations: 5.906 kB / 1.962 GB, free: 91.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/5.707, allocations: 12.14 kB / 1.962 GB, free: 91.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/5.708, allocations: 275.7 kB / 1.963 GB, free: 91.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-05/5.708, allocations: 14.45 kB / 1.963 GB, free: 91.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002292/5.71, allocations: 197.1 kB / 1.963 GB, free: 91.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/5.71, allocations: 67.66 kB / 1.963 GB, free: 91.48 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.0005578/5.711, allocations: 240.6 kB / 1.963 GB, free: 91.26 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004423/5.715, allocations: 1.498 MB / 1.965 GB, free: 90.61 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005421/5.716, allocations: 153.4 kB / 1.965 GB, free: 90.53 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004991/5.721, allocations: 2.059 MB / 1.967 GB, free: 89.53 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.335e-05/5.721, allocations: 25.11 kB / 1.967 GB, free: 89.52 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/5.721, allocations: 6.344 kB / 1.967 GB, free: 89.52 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/5.721, allocations: 3.984 kB / 1.967 GB, free: 89.52 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006929/5.728, allocations: 3.285 MB / 1.97 GB, free: 87.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/5.728, allocations: 0 / 1.97 GB, free: 87.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/5.729, allocations: 240.5 kB / 1.97 GB, free: 87.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.491e-05/5.729, allocations: 3.938 kB / 1.97 GB, free: 87.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.678e-05/5.729, allocations: 31.47 kB / 1.97 GB, free: 87.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/5.729, allocations: 3.938 kB / 1.97 GB, free: 87.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/5.729, allocations: 7.812 kB / 1.97 GB, free: 87.48 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00484/5.734, allocations: 2.742 MB / 1.973 GB, free: 86.01 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000927/5.735, allocations: 399.5 kB / 1.973 GB, free: 85.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002146/5.735, allocations: 11.84 kB / 1.973 GB, free: 85.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/5.736, allocations: 162.2 kB / 1.974 GB, free: 85.57 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/5.737, allocations: 73.16 kB / 1.974 GB, free: 85.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/5.737, allocations: 62.91 kB / 1.974 GB, free: 85.44 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001008/5.738, allocations: 0.6638 MB / 1.974 GB, free: 84.77 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.4e-07/5.738, allocations: 0 / 1.974 GB, free: 84.77 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002984/5.741, allocations: 0.884 MB / 1.975 GB, free: 83.89 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.006932/5.748, allocations: 4.389 MB / 1.979 GB, free: 79.58 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003019/5.751, allocations: 2.205 MB / 1.982 GB, free: 77.29 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/5.751, allocations: 3.828 kB / 1.982 GB, free: 77.29 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/5.752, allocations: 0.8866 MB / 1.982 GB, free: 76.38 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003116/5.755, allocations: 0.5174 MB / 1.983 GB, free: 75.89 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00613/5.761, allocations: 2.75 MB / 1.986 GB, free: 73.11 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007304/5.762, allocations: 1.311 MB / 1.987 GB, free: 71.76 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002106/5.764, allocations: 482.5 kB / 1.987 GB, free: 71.32 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007878/5.765, allocations: 0.632 MB / 1.988 GB, free: 70.68 MB / 0.6823 GB Notification: Performance of SimCode: time 1.563e-06/5.765, allocations: 0 / 1.988 GB, free: 70.68 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09132/5.856, allocations: 44.96 MB / 2.032 GB, free: 26.82 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/5.856, allocations: 173.7 kB / 2.032 GB, free: 26.62 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.197/10.05, allocations: 0 / 2.032 GB, free: 26.62 MB / 0.6823 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)