Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.034/4.034, allocations: 433.2 MB / 440.7 MB, free: 4.586 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.046e-05/3.048e-05, allocations: 3.875 kB / 0.5325 GB, free: 12.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2206, allocations: 98.73 MB / 0.6289 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.113/1.334, allocations: 373.5 MB / 0.9937 GB, free: 15.34 MB / 0.7449 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003411/1.334, allocations: 84.83 kB / 0.9937 GB, free: 15.3 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 7.635/8.969, allocations: 1.439 GB / 2.432 GB, free: 138.4 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.546e-06/8.969, allocations: 3.25 kB / 2.432 GB, free: 138.4 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002812/8.97, allocations: 60 kB / 2.433 GB, free: 138.4 MB / 0.8386 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.005502/8.975, allocations: 1.874 MB / 2.434 GB, free: 137.6 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/8.975, allocations: 10.41 kB / 2.434 GB, free: 137.6 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005501/8.981, allocations: 0.6024 MB / 2.435 GB, free: 137.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006152/8.987, allocations: 1.483 MB / 2.436 GB, free: 137.1 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.669e-05/8.987, allocations: 34 kB / 2.436 GB, free: 137.1 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003765/8.987, allocations: 69.03 kB / 2.436 GB, free: 137.1 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002442/8.99, allocations: 0.8055 MB / 2.437 GB, free: 137.1 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00289/8.993, allocations: 1.037 MB / 2.438 GB, free: 136.8 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.197e-05/8.993, allocations: 6.109 kB / 2.438 GB, free: 136.8 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001412/8.993, allocations: 6.109 kB / 2.438 GB, free: 136.8 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.512e-05/8.993, allocations: 25.31 kB / 2.438 GB, free: 136.8 MB / 0.8386 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.01241/9.005, allocations: 6.408 MB / 2.445 GB, free: 133 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002172/9.008, allocations: 0.8673 MB / 2.445 GB, free: 133 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009878/9.009, allocations: 453 kB / 2.446 GB, free: 133 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002017/9.011, allocations: 2.258 MB / 2.448 GB, free: 130.4 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001364/9.012, allocations: 0.607 MB / 2.449 GB, free: 130.3 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=93): time 4.769e-06/9.012, allocations: 5.469 kB / 2.449 GB, free: 130.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=93): time 0.005118/9.017, allocations: 1.228 MB / 2.45 GB, free: 130.2 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.665e-05/9.017, allocations: 147.8 kB / 2.45 GB, free: 130 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001798/9.019, allocations: 0.9165 MB / 2.451 GB, free: 129.8 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002884/9.02, allocations: 29.39 kB / 2.451 GB, free: 129.8 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007104/9.02, allocations: 0.7473 MB / 2.452 GB, free: 129.6 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000424/9.021, allocations: 290.8 kB / 2.452 GB, free: 129.4 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.573e-05/9.021, allocations: 3.719 kB / 2.452 GB, free: 129.4 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.369e-05/9.021, allocations: 343.9 kB / 2.452 GB, free: 129.1 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008945/9.022, allocations: 389.1 kB / 2.453 GB, free: 129.1 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/9.023, allocations: 0.676 MB / 2.453 GB, free: 128.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00313/9.026, allocations: 0.6653 MB / 2.454 GB, free: 128.7 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.251e-05/9.026, allocations: 0 / 2.454 GB, free: 128.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.005377/9.032, allocations: 1.401 MB / 2.455 GB, free: 128.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005262/9.032, allocations: 2.242 MB / 2.457 GB, free: 126.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/9.032, allocations: 11.25 kB / 2.458 GB, free: 126.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.762e-05/9.032, allocations: 15.38 kB / 2.458 GB, free: 126.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002439/9.035, allocations: 285.4 kB / 2.458 GB, free: 126.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.948e-05/9.035, allocations: 7.719 kB / 2.458 GB, free: 126.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002938/9.038, allocations: 223 kB / 2.458 GB, free: 126.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003654/9.038, allocations: 62.81 kB / 2.458 GB, free: 126.2 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/9.038, allocations: 5.531 kB / 2.458 GB, free: 126.2 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004886/9.043, allocations: 1.256 MB / 2.459 GB, free: 126.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/9.043, allocations: 7.062 kB / 2.459 GB, free: 126.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/9.043, allocations: 10.72 kB / 2.459 GB, free: 126.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002282/9.045, allocations: 287 kB / 2.46 GB, free: 126.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.657e-05/9.046, allocations: 12.19 kB / 2.46 GB, free: 126.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002921/9.048, allocations: 209.1 kB / 2.46 GB, free: 126.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003891/9.049, allocations: 60.77 kB / 2.46 GB, free: 126.1 MB / 0.8386 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 (114): * Single equations (assignments): 111 * 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.0004612/9.049, allocations: 246.2 kB / 2.46 GB, free: 125.9 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005265/9.055, allocations: 1.265 MB / 2.461 GB, free: 125.8 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005496/9.055, allocations: 153.1 kB / 2.461 GB, free: 125.7 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006838/9.062, allocations: 1.821 MB / 2.463 GB, free: 125.6 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.23e-05/9.062, allocations: 16.92 kB / 2.463 GB, free: 125.6 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/9.062, allocations: 7.016 kB / 2.463 GB, free: 125.5 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.746e-05/9.062, allocations: 7.016 kB / 2.463 GB, free: 125.5 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009615/9.072, allocations: 2.941 MB / 2.466 GB, free: 125.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/9.072, allocations: 3.953 kB / 2.466 GB, free: 125.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002102/9.074, allocations: 217.1 kB / 2.466 GB, free: 125.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.817e-05/9.074, allocations: 6.688 kB / 2.466 GB, free: 125.2 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002498/9.074, allocations: 28.55 kB / 2.466 GB, free: 125.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-06/9.074, allocations: 4.062 kB / 2.466 GB, free: 125.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/9.074, allocations: 2.5 kB / 2.466 GB, free: 125.2 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007118/9.082, allocations: 2.368 MB / 2.469 GB, free: 124.9 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/9.083, allocations: 375.5 kB / 2.469 GB, free: 124.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005052/9.083, allocations: 16.39 kB / 2.469 GB, free: 124.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002524/9.086, allocations: 154 kB / 2.469 GB, free: 124.7 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002618/9.086, allocations: 68.44 kB / 2.469 GB, free: 124.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002321/9.087, allocations: 48.27 kB / 2.469 GB, free: 124.7 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001386/9.088, allocations: 0.6929 MB / 2.47 GB, free: 124.6 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.71e-07/9.088, allocations: 0 / 2.47 GB, free: 124.6 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.004147/9.092, allocations: 0.8799 MB / 2.471 GB, free: 124.5 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (94): * Single equations (assignments): 72 * 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.009275/9.101, allocations: 3.781 MB / 2.475 GB, free: 123.4 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.004407/9.106, allocations: 2.181 MB / 2.477 GB, free: 123 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/9.106, allocations: 0 / 2.477 GB, free: 123 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001557/9.108, allocations: 0.8602 MB / 2.478 GB, free: 122.8 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004667/9.112, allocations: 0.5226 MB / 2.478 GB, free: 122.8 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00883/9.121, allocations: 2.928 MB / 2.481 GB, free: 122.1 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008867/9.122, allocations: 1.312 MB / 2.482 GB, free: 121.4 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.003656/9.126, allocations: 474.9 kB / 2.483 GB, free: 121.3 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001473/9.127, allocations: 0.6469 MB / 2.483 GB, free: 121.3 MB / 0.8386 GB Notification: Performance of SimCode: time 1.342e-06/9.127, allocations: 2.688 kB / 2.483 GB, free: 121.3 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1532/9.281, allocations: 45.49 MB / 2.528 GB, free: 105.9 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/9.281, allocations: 184.7 kB / 2.528 GB, free: 105.7 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.054/14.33, allocations: 0 / 2.528 GB, free: 105.7 MB / 0.8386 GB