Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.765/2.765, allocations: 287.3 MB / 302.3 MB, free: 8.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001604/0.001603, allocations: 170.6 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.108/2.108, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001208/0.001207, allocations: 98.05 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006604/0.0006605, allocations: 12.88 kB / 0.8657 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2383, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.282/1.52, allocations: 390.1 MB / 1.359 GB, free: 7.363 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003507/1.521, allocations: 92.19 kB / 1.359 GB, free: 7.312 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 8.305/9.826, allocations: 1.511 GB / 2.87 GB, free: 143.4 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.685e-06/9.826, allocations: 0 / 2.87 GB, free: 143.4 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003273/9.826, allocations: 57.03 kB / 2.87 GB, free: 143.4 MB / 0.9636 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.008696/9.835, allocations: 2.215 MB / 2.872 GB, free: 142.6 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/9.835, allocations: 9.469 kB / 2.872 GB, free: 142.6 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006604/9.836, allocations: 158.5 kB / 2.872 GB, free: 142.6 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005995/9.842, allocations: 0.6099 MB / 2.873 GB, free: 142.5 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007378/9.849, allocations: 1.485 MB / 2.874 GB, free: 142.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001621/9.849, allocations: 82.97 kB / 2.874 GB, free: 142.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005265/9.85, allocations: 118.4 kB / 2.874 GB, free: 142.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005627/9.856, allocations: 1.375 MB / 2.876 GB, free: 141.9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.627e-05/9.856, allocations: 1.188 kB / 2.876 GB, free: 141.9 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001844/9.856, allocations: 45.06 kB / 2.876 GB, free: 141.9 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.91e-05/9.856, allocations: 28 kB / 2.876 GB, free: 141.9 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006667/9.863, allocations: 1.24 MB / 2.877 GB, free: 141.9 MB / 0.9636 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.01484/9.877, allocations: 6.668 MB / 2.884 GB, free: 138.1 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005922/9.883, allocations: 1.252 MB / 2.885 GB, free: 138.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00199/9.885, allocations: 2.257 MB / 2.887 GB, free: 135.5 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00324/9.889, allocations: 0.8452 MB / 2.888 GB, free: 135.4 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=97): time 4.478e-06/9.889, allocations: 0 / 2.888 GB, free: 135.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=97): time 0.009996/9.899, allocations: 2.464 MB / 2.89 GB, free: 134.9 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.95e-05/9.899, allocations: 146.9 kB / 2.89 GB, free: 134.7 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002452/9.901, allocations: 1.071 MB / 2.891 GB, free: 134.6 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0003504/9.902, allocations: 43.23 kB / 2.892 GB, free: 134.5 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007945/9.903, allocations: 0.717 MB / 2.892 GB, free: 134.3 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005686/9.903, allocations: 325 kB / 2.893 GB, free: 134.2 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/9.903, allocations: 24.97 kB / 2.893 GB, free: 134.2 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.893e-05/9.903, allocations: 343.4 kB / 2.893 GB, free: 133.9 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002787/9.906, allocations: 0.5808 MB / 2.893 GB, free: 133.9 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003256/9.91, allocations: 0.8942 MB / 2.894 GB, free: 133.6 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003097/9.913, allocations: 0.7229 MB / 2.895 GB, free: 133.4 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/9.913, allocations: 1.469 kB / 2.895 GB, free: 133.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.007849/9.921, allocations: 1.845 MB / 2.897 GB, free: 133.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005654/9.921, allocations: 2.256 MB / 2.899 GB, free: 130.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/9.921, allocations: 6.156 kB / 2.899 GB, free: 130.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.602e-05/9.921, allocations: 11.12 kB / 2.899 GB, free: 130.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002618/9.924, allocations: 296.5 kB / 2.899 GB, free: 130.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.321e-05/9.924, allocations: 10.41 kB / 2.899 GB, free: 130.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003326/9.927, allocations: 243.4 kB / 2.9 GB, free: 130.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004268/9.928, allocations: 67.61 kB / 2.9 GB, free: 130.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/9.928, allocations: 8.938 kB / 2.9 GB, free: 130.8 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007218/9.935, allocations: 1.747 MB / 2.901 GB, free: 130.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/9.935, allocations: 7.469 kB / 2.901 GB, free: 130.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/9.935, allocations: 8.578 kB / 2.901 GB, free: 130.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002432/9.938, allocations: 294.5 kB / 2.902 GB, free: 130.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.992e-05/9.938, allocations: 17.81 kB / 2.902 GB, free: 130.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003182/9.941, allocations: 238.6 kB / 2.902 GB, free: 130.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003627/9.941, allocations: 68.11 kB / 2.902 GB, free: 130.7 MB / 0.9636 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.001318/9.943, allocations: 0.5056 MB / 2.902 GB, free: 130.4 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006606/9.943, allocations: 164 kB / 2.903 GB, free: 130.3 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009787/9.953, allocations: 2.338 MB / 2.905 GB, free: 130.1 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.296e-05/9.953, allocations: 18.38 kB / 2.905 GB, free: 130.1 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/9.953, allocations: 3.953 kB / 2.905 GB, free: 130.1 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.981e-05/9.953, allocations: 4.359 kB / 2.905 GB, free: 130.1 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01412/9.967, allocations: 3.693 MB / 2.909 GB, free: 129.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.977e-05/9.967, allocations: 1.125 kB / 2.909 GB, free: 129.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002315/9.97, allocations: 228.3 kB / 2.909 GB, free: 129.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.256e-05/9.97, allocations: 9.109 kB / 2.909 GB, free: 129.6 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002924/9.97, allocations: 40.16 kB / 2.909 GB, free: 129.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-05/9.97, allocations: 7.938 kB / 2.909 GB, free: 129.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/9.97, allocations: 2 kB / 2.909 GB, free: 129.6 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01226/9.982, allocations: 3.215 MB / 2.912 GB, free: 129.1 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001664/9.984, allocations: 405.7 kB / 2.912 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006397/9.985, allocations: 28.94 kB / 2.912 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002932/9.988, allocations: 168.6 kB / 2.913 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003291/9.988, allocations: 75.33 kB / 2.913 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002714/9.989, allocations: 55.44 kB / 2.913 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.00246/9.991, allocations: 0.8302 MB / 2.913 GB, free: 128.8 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.11e-07/9.991, allocations: 1.094 kB / 2.913 GB, free: 128.8 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005658/9.997, allocations: 0.9259 MB / 2.914 GB, free: 128.7 MB / 0.9636 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.01547/10.01, allocations: 4.85 MB / 2.919 GB, free: 127.2 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01035/10.02, allocations: 2.773 MB / 2.922 GB, free: 126.8 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/10.02, allocations: 0 / 2.922 GB, free: 126.8 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003613/10.03, allocations: 1.074 MB / 2.923 GB, free: 126.6 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005601/10.03, allocations: 0.62 MB / 2.923 GB, free: 126.6 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03243/10.06, allocations: 14.11 MB / 2.937 GB, free: 119.6 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/10.07, allocations: 1.316 MB / 2.939 GB, free: 118.9 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002912/10.07, allocations: 417.8 kB / 2.939 GB, free: 118.9 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001576/10.07, allocations: 0.6572 MB / 2.94 GB, free: 118.9 MB / 0.9636 GB Notification: Performance of SimCode: time 1.393e-06/10.07, allocations: 3.938 kB / 2.94 GB, free: 118.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1326/10.2, allocations: 51.06 MB / 2.989 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002294/10.2, allocations: 247 kB / 2.99 GB, free: 116.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.116/15.32, allocations: 0 / 2.99 GB, free: 116.7 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)