Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.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.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.069/4.069, allocations: 433.2 MB / 440.7 MB, free: 4.559 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.964e-05/3.982e-05, allocations: 6.812 kB / 0.5325 GB, free: 12.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2646, allocations: 98.74 MB / 0.6289 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2395/0.5041, allocations: 130.5 MB / 0.7563 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003801/0.5046, allocations: 99.92 kB / 0.7564 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.06014/0.5647, allocations: 12.63 MB / 0.7688 GB, free: 9.609 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.284e-06/0.5648, allocations: 0 / 0.7688 GB, free: 9.609 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.327e-05/0.5648, allocations: 8 kB / 0.7688 GB, free: 9.602 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.00166/0.5665, allocations: 0.6975 MB / 0.7695 GB, free: 8.852 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 8.532e-05/0.5666, allocations: 15.97 kB / 0.7695 GB, free: 8.836 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.5669, allocations: 63.2 kB / 0.7695 GB, free: 8.773 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009575/0.5678, allocations: 339.8 kB / 0.7699 GB, free: 8.402 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.5679, allocations: 0 / 0.7699 GB, free: 8.402 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.344e-05/0.5679, allocations: 11.98 kB / 0.7699 GB, free: 8.391 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004107/0.5684, allocations: 84.14 kB / 0.77 GB, free: 8.305 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004137/0.5688, allocations: 122.1 kB / 0.7701 GB, free: 8.18 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.5689, allocations: 8 kB / 0.7701 GB, free: 8.172 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.134e-05/0.5689, allocations: 0 / 0.7701 GB, free: 8.172 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.569, allocations: 0 / 0.7701 GB, free: 8.172 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001663/0.5706, allocations: 0.5049 MB / 0.7706 GB, free: 7.629 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003619/0.571, allocations: 106.5 kB / 0.7707 GB, free: 7.516 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002346/0.5713, allocations: 60.97 kB / 0.7707 GB, free: 7.453 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.849e-05/0.5714, allocations: 8 kB / 0.7707 GB, free: 7.445 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003668/0.5718, allocations: 133 kB / 0.7709 GB, free: 7.297 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 4.679e-06/0.5718, allocations: 0 / 0.7709 GB, free: 7.297 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0008759/0.5727, allocations: 200.8 kB / 0.7711 GB, free: 7.094 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.706e-05/0.5728, allocations: 85.11 kB / 0.7711 GB, free: 6.992 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001771/0.5746, allocations: 0.5972 MB / 0.7717 GB, free: 6.391 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.884e-05/0.5747, allocations: 25.7 kB / 0.7717 GB, free: 6.359 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005494/0.5753, allocations: 279.9 kB / 0.772 GB, free: 6.082 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.869e-05/0.5754, allocations: 27.64 kB / 0.772 GB, free: 6.055 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.538e-05/0.5754, allocations: 0 / 0.772 GB, free: 6.055 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0003295/0.5757, allocations: 370.8 kB / 0.7724 GB, free: 5.684 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.576, allocations: 47.97 kB / 0.7724 GB, free: 5.637 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.5762, allocations: 43.98 kB / 0.7725 GB, free: 5.594 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003318/0.5765, allocations: 55.95 kB / 0.7725 GB, free: 5.539 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.5765, allocations: 0 / 0.7725 GB, free: 5.539 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0007996/0.5774, allocations: 196.8 kB / 0.7727 GB, free: 5.34 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.252e-05/0.5775, allocations: 41.69 kB / 0.7728 GB, free: 5.293 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.5775, allocations: 0 / 0.7728 GB, free: 5.293 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/0.5775, allocations: 4 kB / 0.7728 GB, free: 5.289 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.5777, allocations: 4 kB / 0.7728 GB, free: 5.285 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.5777, allocations: 0 / 0.7728 GB, free: 5.285 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003186/0.5781, allocations: 15.89 kB / 0.7728 GB, free: 5.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.071e-05/0.5781, allocations: 8 kB / 0.7728 GB, free: 5.262 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.000201/0.5784, allocations: 146.6 kB / 0.7729 GB, free: 5.105 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008406/0.5792, allocations: 208.9 kB / 0.7731 GB, free: 4.895 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.5794, allocations: 67.19 kB / 0.7732 GB, free: 4.828 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.5805, allocations: 222.9 kB / 0.7734 GB, free: 4.602 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.5805, allocations: 0 / 0.7734 GB, free: 4.602 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.5805, allocations: 0 / 0.7734 GB, free: 4.602 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.5805, allocations: 3.953 kB / 0.7734 GB, free: 4.598 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008778/0.5814, allocations: 338 kB / 0.7737 GB, free: 4.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.5815, allocations: 4 kB / 0.7737 GB, free: 4.227 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.5816, allocations: 8 kB / 0.7737 GB, free: 4.219 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.5816, allocations: 0 / 0.7737 GB, free: 4.219 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.375e-05/0.5817, allocations: 4 kB / 0.7738 GB, free: 4.215 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.5817, allocations: 0 / 0.7738 GB, free: 4.215 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.5817, allocations: 0 / 0.7738 GB, free: 4.215 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008793/0.5826, allocations: 252.2 kB / 0.774 GB, free: 3.949 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/0.5829, allocations: 148.2 kB / 0.7741 GB, free: 3.785 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/0.5831, allocations: 8 kB / 0.7741 GB, free: 3.777 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002885/0.5834, allocations: 8.359 kB / 0.7741 GB, free: 3.77 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.238e-05/0.5835, allocations: 11.98 kB / 0.7742 GB, free: 3.758 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.722e-05/0.5836, allocations: 8 kB / 0.7742 GB, free: 3.75 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001465/0.5851, allocations: 0.4993 MB / 0.7747 GB, free: 3.254 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.473e-06/0.5851, allocations: 0 / 0.7747 GB, free: 3.254 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00112/0.5862, allocations: 147.8 kB / 0.7748 GB, free: 3.109 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.002504/0.5888, allocations: 1.013 MB / 0.7758 GB, free: 2.07 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005973/0.5894, allocations: 195.4 kB / 0.776 GB, free: 1.867 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.5895, allocations: 0 / 0.776 GB, free: 1.867 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000313/0.5898, allocations: 143.4 kB / 0.7761 GB, free: 1.715 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.5911, allocations: 101.2 kB / 0.7762 GB, free: 1.621 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004082/0.5952, allocations: 0.9818 MB / 0.7772 GB, free: 0.5938 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5624/1.158, allocations: 0.9717 MB / 0.7781 GB, free: 139.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001601/1.158, allocations: 17.05 kB / 0.7781 GB, free: 139.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002546/1.158, allocations: 149 kB / 0.7783 GB, free: 139.5 MB / 0.6511 GB Notification: Performance of SimCode: time 1.472e-06/1.158, allocations: 1.5 kB / 0.7783 GB, free: 139.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06236/1.221, allocations: 10.53 MB / 0.7886 GB, free: 139 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002501/1.221, allocations: 171.6 kB / 0.7887 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.664/3.885, allocations: 0 / 0.7887 GB, free: 138.8 MB / 0.6511 GB