Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.534/1.534, allocations: 249.3 MB / 261.8 MB, free: 5.871 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 180.8 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.722/1.722, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.0009152/0.0009151, allocations: 91.02 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.731e-05/3.758e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2437, allocations: 106.3 MB / 0.8919 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.1/1.344, allocations: 382.6 MB / 1.265 GB, free: 248 kB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/1.344, allocations: 92.88 kB / 1.266 GB, free: 200 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.613/7.957, allocations: 1.46 GB / 2.726 GB, free: 138.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.094e-06/7.957, allocations: 0 / 2.726 GB, free: 138.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001941/7.957, allocations: 50.09 kB / 2.726 GB, free: 138.4 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.005319/7.962, allocations: 1.888 MB / 2.728 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.033e-05/7.963, allocations: 13.19 kB / 2.728 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003297/7.963, allocations: 161.2 kB / 2.728 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00339/7.966, allocations: 0.6066 MB / 2.728 GB, free: 137.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004486/7.971, allocations: 1.474 MB / 2.73 GB, free: 137 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-05/7.971, allocations: 85.5 kB / 2.73 GB, free: 137 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002466/7.971, allocations: 110.1 kB / 2.73 GB, free: 137 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002146/7.973, allocations: 1.197 MB / 2.731 GB, free: 136.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/7.973, allocations: 3.156 kB / 2.731 GB, free: 136.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/7.973, allocations: 42.38 kB / 2.731 GB, free: 136.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.54e-05/7.974, allocations: 24.25 kB / 2.731 GB, free: 136.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/7.975, allocations: 0.9034 MB / 2.732 GB, free: 136.8 MB / 0.8855 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.008549/7.984, allocations: 6.672 MB / 2.739 GB, free: 132.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/7.985, allocations: 0.923 MB / 2.74 GB, free: 132.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006601/7.986, allocations: 0.5116 MB / 2.74 GB, free: 132.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001502/7.987, allocations: 2.263 MB / 2.742 GB, free: 130.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000941/7.988, allocations: 0.6788 MB / 2.743 GB, free: 130.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=97): time 4.418e-06/7.988, allocations: 0 / 2.743 GB, free: 130.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=97): time 0.002557/7.991, allocations: 1.31 MB / 2.744 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/7.991, allocations: 144.7 kB / 2.744 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/7.992, allocations: 1.048 MB / 2.745 GB, free: 129.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001414/7.993, allocations: 43.36 kB / 2.745 GB, free: 129.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005492/7.993, allocations: 0.7095 MB / 2.746 GB, free: 129.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002802/7.993, allocations: 328.1 kB / 2.746 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.117e-05/7.994, allocations: 21.66 kB / 2.746 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001003/7.994, allocations: 348.2 kB / 2.747 GB, free: 128.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006179/7.994, allocations: 425.2 kB / 2.747 GB, free: 128.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008317/7.995, allocations: 0.7256 MB / 2.748 GB, free: 128.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007071/7.996, allocations: 0.5512 MB / 2.748 GB, free: 128.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/7.996, allocations: 3.562 kB / 2.748 GB, free: 128.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002471/7.998, allocations: 1.504 MB / 2.75 GB, free: 128.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005662/7.999, allocations: 2.252 MB / 2.752 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/7.999, allocations: 3.219 kB / 2.752 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.024e-05/7.999, allocations: 10.88 kB / 2.752 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/8, allocations: 300 kB / 2.752 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.149e-05/8, allocations: 13.7 kB / 2.752 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/8.002, allocations: 248.9 kB / 2.753 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000154/8.002, allocations: 64.98 kB / 2.753 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/8.002, allocations: 3.688 kB / 2.753 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002064/8.004, allocations: 1.404 MB / 2.754 GB, free: 125.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/8.004, allocations: 9.219 kB / 2.754 GB, free: 125.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/8.004, allocations: 10.88 kB / 2.754 GB, free: 125.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/8.005, allocations: 284.5 kB / 2.754 GB, free: 125.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.908e-05/8.005, allocations: 20.44 kB / 2.754 GB, free: 125.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/8.007, allocations: 242.2 kB / 2.755 GB, free: 125.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/8.007, allocations: 64.81 kB / 2.755 GB, free: 125.6 MB / 0.8855 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 () * 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.0003602/8.008, allocations: 274.8 kB / 2.755 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002639/8.008, allocations: 167.7 kB / 2.755 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00317/8.011, allocations: 2.005 MB / 2.757 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-05/8.011, allocations: 21.14 kB / 2.757 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/8.011, allocations: 3.953 kB / 2.757 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/8.011, allocations: 7.219 kB / 2.757 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004919/8.016, allocations: 3.344 MB / 2.76 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/8.016, allocations: 0 / 2.76 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/8.017, allocations: 225.7 kB / 2.761 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/8.017, allocations: 7.031 kB / 2.761 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.185e-05/8.017, allocations: 44.72 kB / 2.761 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/8.017, allocations: 7.609 kB / 2.761 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/8.017, allocations: 1.594 kB / 2.761 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003432/8.021, allocations: 2.698 MB / 2.763 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008425/8.022, allocations: 405.8 kB / 2.764 GB, free: 123.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002117/8.022, allocations: 34.67 kB / 2.764 GB, free: 123.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/8.023, allocations: 164.3 kB / 2.764 GB, free: 123.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/8.023, allocations: 78.66 kB / 2.764 GB, free: 123.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/8.023, allocations: 60.62 kB / 2.764 GB, free: 123.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001207/8.025, allocations: 0.8072 MB / 2.765 GB, free: 123.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/8.025, allocations: 0 / 2.765 GB, free: 123.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003031/8.028, allocations: 0.9226 MB / 2.766 GB, free: 123.6 MB / 0.8855 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) * 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.005339/8.033, allocations: 4.34 MB / 2.77 GB, free: 122.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003102/8.036, allocations: 2.311 MB / 2.772 GB, free: 121.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/8.036, allocations: 1.031 kB / 2.772 GB, free: 121.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009586/8.037, allocations: 0.8994 MB / 2.773 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003146/8.04, allocations: 0.6248 MB / 2.774 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006768/8.047, allocations: 3.097 MB / 2.777 GB, free: 120.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00082/8.048, allocations: 1.316 MB / 2.778 GB, free: 120 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002235/8.05, allocations: 0.4941 MB / 2.778 GB, free: 120 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007262/8.051, allocations: 0.6384 MB / 2.779 GB, free: 120 MB / 0.8855 GB Notification: Performance of SimCode: time 1.513e-06/8.051, allocations: 0 / 2.779 GB, free: 120 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09396/8.145, allocations: 54.43 MB / 2.832 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/8.145, allocations: 216.7 kB / 2.832 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.5/12.65, allocations: 9.438 kB / 2.832 GB, free: 104.3 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)