Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.17/2.17, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001536/0.001536, allocations: 184.4 kB / 325.5 MB, free: 2.902 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.339/2.339, allocations: 205.4 MB / 0.5764 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001231/0.00123, allocations: 106.7 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006702/0.0006703, allocations: 15.62 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2381, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.322/1.56, allocations: 382.5 MB / 1.272 GB, free: 3.301 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000374/1.56, allocations: 88.09 kB / 1.272 GB, free: 3.254 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.571/9.131, allocations: 1.465 GB / 2.737 GB, free: 18.65 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.205e-06/9.131, allocations: 0 / 2.737 GB, free: 18.65 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002814/9.132, allocations: 55.92 kB / 2.737 GB, free: 18.59 MB / 0.8855 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.007951/9.14, allocations: 2.215 MB / 2.74 GB, free: 16.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/9.14, allocations: 8.031 kB / 2.74 GB, free: 16.29 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000642/9.14, allocations: 156.5 kB / 2.74 GB, free: 16.13 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005752/9.146, allocations: 0.6111 MB / 2.74 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006583/9.153, allocations: 1.49 MB / 2.742 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/9.153, allocations: 82 kB / 2.742 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004646/9.153, allocations: 115.9 kB / 2.742 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005074/9.158, allocations: 1.374 MB / 2.743 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.832e-05/9.159, allocations: 4 kB / 2.743 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001755/9.159, allocations: 44.34 kB / 2.743 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.627e-05/9.159, allocations: 27.95 kB / 2.743 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006256/9.165, allocations: 1.245 MB / 2.745 GB, free: 11.02 MB / 0.8855 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.01377/9.179, allocations: 6.658 MB / 2.751 GB, free: 3.844 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005716/9.185, allocations: 1.261 MB / 2.752 GB, free: 2.574 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002061/9.187, allocations: 2.256 MB / 2.755 GB, free: 15.82 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003657/9.19, allocations: 0.8382 MB / 2.755 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=97): time 5.189e-06/9.191, allocations: 0 / 2.755 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of matching and sorting (n=97): time 0.01108/9.202, allocations: 2.466 MB / 2.758 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/9.202, allocations: 141.2 kB / 2.758 GB, free: 12.24 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002906/9.205, allocations: 1.079 MB / 2.759 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0003598/9.205, allocations: 49.7 kB / 2.759 GB, free: 11.1 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009869/9.206, allocations: 0.7057 MB / 2.76 GB, free: 10.39 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006702/9.207, allocations: 335.2 kB / 2.76 GB, free: 10.05 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/9.207, allocations: 16 kB / 2.76 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000165/9.207, allocations: 345.9 kB / 2.76 GB, free: 9.695 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002984/9.21, allocations: 0.5878 MB / 2.761 GB, free: 9.102 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003559/9.214, allocations: 0.8944 MB / 2.762 GB, free: 8.09 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003389/9.217, allocations: 0.713 MB / 2.763 GB, free: 7.359 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/9.217, allocations: 4.109 kB / 2.763 GB, free: 7.355 MB / 0.9011 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.008265/9.226, allocations: 1.852 MB / 2.764 GB, free: 5.48 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.000964/9.227, allocations: 2.253 MB / 2.767 GB, free: 3.008 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.219e-05/9.227, allocations: 4 kB / 2.767 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.735e-05/9.227, allocations: 12 kB / 2.767 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002736/9.229, allocations: 295.5 kB / 2.767 GB, free: 2.703 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.255e-05/9.229, allocations: 12 kB / 2.767 GB, free: 2.691 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003294/9.233, allocations: 246.9 kB / 2.767 GB, free: 2.449 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004203/9.233, allocations: 59.97 kB / 2.767 GB, free: 2.391 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/9.233, allocations: 4 kB / 2.767 GB, free: 2.387 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00768/9.241, allocations: 1.762 MB / 2.769 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/9.241, allocations: 4 kB / 2.769 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/9.241, allocations: 15.95 kB / 2.769 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00255/9.244, allocations: 283.9 kB / 2.769 GB, free: 320 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.897e-05/9.244, allocations: 19.92 kB / 2.769 GB, free: 300 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003192/9.247, allocations: 238.9 kB / 2.769 GB, free: 60 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.7117/9.959, allocations: 68.45 kB / 2.769 GB, free: 138.4 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (117): * Single equations (assignments): 114 * 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.001546/9.96, allocations: 0.4947 MB / 2.77 GB, free: 138.2 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005982/9.961, allocations: 161.9 kB / 2.77 GB, free: 138.2 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009214/9.97, allocations: 2.356 MB / 2.772 GB, free: 138 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.714e-05/9.97, allocations: 13.86 kB / 2.772 GB, free: 138 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/9.97, allocations: 3.75 kB / 2.772 GB, free: 138 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.302e-05/9.97, allocations: 3.422 kB / 2.772 GB, free: 138 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01352/9.984, allocations: 3.684 MB / 2.776 GB, free: 137.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.055e-05/9.984, allocations: 1.391 kB / 2.776 GB, free: 137.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002413/9.986, allocations: 230.5 kB / 2.776 GB, free: 137.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.337e-05/9.986, allocations: 9.344 kB / 2.776 GB, free: 137.5 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003105/9.987, allocations: 41.56 kB / 2.776 GB, free: 137.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.106e-05/9.987, allocations: 5.094 kB / 2.776 GB, free: 137.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.934e-06/9.987, allocations: 3.609 kB / 2.776 GB, free: 137.5 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01297/10, allocations: 3.213 MB / 2.779 GB, free: 137.1 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001592/10, allocations: 399.1 kB / 2.78 GB, free: 136.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006061/10, allocations: 29.95 kB / 2.78 GB, free: 136.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002927/10, allocations: 173.3 kB / 2.78 GB, free: 136.9 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003292/10.01, allocations: 77.88 kB / 2.78 GB, free: 136.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002637/10.01, allocations: 55.83 kB / 2.78 GB, free: 136.9 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.002482/10.01, allocations: 0.8281 MB / 2.781 GB, free: 136.8 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4.71e-07/10.01, allocations: 0.9062 kB / 2.781 GB, free: 136.8 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.004484/10.01, allocations: 0.9215 MB / 2.782 GB, free: 136.8 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (heaHigPow.outCon.T,heaHigPowOut.T,cooLimPowOut.T,cooLimPow.outCon.T,heaCooUnl.outCon.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 (101): * Single equations (assignments): 79 * 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.01409/10.03, allocations: 4.858 MB / 2.787 GB, free: 135.4 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.009366/10.04, allocations: 2.769 MB / 2.789 GB, free: 135 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/10.04, allocations: 0 / 2.789 GB, free: 135 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.003274/10.04, allocations: 1.074 MB / 2.79 GB, free: 134.8 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005074/10.04, allocations: 0.626 MB / 2.791 GB, free: 134.8 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03076/10.08, allocations: 14.11 MB / 2.805 GB, free: 127.8 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009652/10.08, allocations: 1.311 MB / 2.806 GB, free: 127.1 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.00274/10.08, allocations: 420.9 kB / 2.806 GB, free: 127.1 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001315/10.08, allocations: 0.6681 MB / 2.807 GB, free: 127.1 MB / 0.9011 GB Notification: Performance of SimCode: time 1.112e-06/10.08, allocations: 2.438 kB / 2.807 GB, free: 127.1 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1269/10.21, allocations: 51.05 MB / 2.857 GB, free: 125.5 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002315/10.21, allocations: 244.2 kB / 2.857 GB, free: 125.2 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.869/15.08, allocations: 0 / 2.857 GB, free: 125.2 MB / 0.9011 GB