Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadModel(Buildings): time 3.917/3.917, allocations: 432.7 MB / 445.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.965e-05/2.985e-05, allocations: 5 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1782, allocations: 98.72 MB / 0.6347 GB, free: 1.922 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1966/0.3749, allocations: 127.2 MB / 0.7589 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.3752, allocations: 87.89 kB / 0.759 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02455/0.3998, allocations: 5.611 MB / 0.7645 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.106e-06/0.3998, allocations: 3.938 kB / 0.7645 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.769e-05/0.3999, allocations: 8 kB / 0.7645 GB, free: 12.84 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009507/0.4008, allocations: 0.5388 MB / 0.765 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.4009, allocations: 8.031 kB / 0.765 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.401, allocations: 35.67 kB / 0.7651 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005276/0.4015, allocations: 273.8 kB / 0.7653 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.796e-05/0.4016, allocations: 12.23 kB / 0.7653 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.815e-05/0.4017, allocations: 12 kB / 0.7654 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006409/0.4023, allocations: 217.5 kB / 0.7656 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.4024, allocations: 0 / 0.7656 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.529e-05/0.4024, allocations: 8 kB / 0.7656 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.799e-06/0.4024, allocations: 0 / 0.7656 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003177/0.4028, allocations: 128.4 kB / 0.7657 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.404, allocations: 0.5633 MB / 0.7662 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003469/0.4043, allocations: 150.5 kB / 0.7664 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.4046, allocations: 96.97 kB / 0.7665 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.4046, allocations: 7.984 kB / 0.7665 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003423/0.4049, allocations: 177.1 kB / 0.7667 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 3.505e-06/0.405, allocations: 3.938 kB / 0.7667 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0006788/0.4057, allocations: 256.6 kB / 0.7669 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.655e-05/0.4058, allocations: 136.5 kB / 0.767 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003452/0.4061, allocations: 234.9 kB / 0.7673 GB, free: 9.781 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.462e-05/0.4062, allocations: 33.7 kB / 0.7673 GB, free: 9.742 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.4063, allocations: 144.3 kB / 0.7674 GB, free: 9.598 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.917e-05/0.4064, allocations: 39.44 kB / 0.7675 GB, free: 9.559 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.738e-05/0.4064, allocations: 8 kB / 0.7675 GB, free: 9.551 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.4066, allocations: 338.8 kB / 0.7678 GB, free: 9.211 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.4069, allocations: 91.91 kB / 0.7679 GB, free: 9.121 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002389/0.4071, allocations: 123.4 kB / 0.768 GB, free: 8.988 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.4073, allocations: 111.7 kB / 0.7681 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.115e-06/0.4073, allocations: 4.078 kB / 0.7681 GB, free: 8.871 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006456/0.408, allocations: 287 kB / 0.7684 GB, free: 8.578 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.271e-05/0.4081, allocations: 37.69 kB / 0.7684 GB, free: 8.535 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.37e-06/0.4081, allocations: 0 / 0.7684 GB, free: 8.535 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.4081, allocations: 0 / 0.7684 GB, free: 8.535 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.4083, allocations: 32.05 kB / 0.7685 GB, free: 8.504 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.4084, allocations: 3.953 kB / 0.7685 GB, free: 8.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.4086, allocations: 47.81 kB / 0.7685 GB, free: 8.453 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.253e-05/0.4086, allocations: 11.98 kB / 0.7685 GB, free: 8.441 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent,ySet.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * 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.0001686/0.4088, allocations: 156.9 kB / 0.7687 GB, free: 8.277 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.949e-05/0.4089, allocations: 23.72 kB / 0.7687 GB, free: 8.254 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.032e-05/0.409, allocations: 25.95 kB / 0.7687 GB, free: 8.23 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.784e-06/0.409, allocations: 0 / 0.7687 GB, free: 8.23 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.409, allocations: 0 / 0.7687 GB, free: 8.23 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.791e-06/0.409, allocations: 7.953 kB / 0.7687 GB, free: 8.223 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000385/0.4094, allocations: 293.5 kB / 0.769 GB, free: 7.887 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.036e-06/0.4094, allocations: 0 / 0.769 GB, free: 7.887 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.4096, allocations: 27.92 kB / 0.769 GB, free: 7.859 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.933e-06/0.4096, allocations: 0 / 0.769 GB, free: 7.859 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.028e-05/0.4097, allocations: 4 kB / 0.769 GB, free: 7.855 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.4097, allocations: 0 / 0.769 GB, free: 7.855 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.875e-06/0.4097, allocations: 0 / 0.769 GB, free: 7.855 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009802/0.4107, allocations: 451.8 kB / 0.7695 GB, free: 7.391 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.895e-05/0.4108, allocations: 96.86 kB / 0.7696 GB, free: 7.277 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.293e-05/0.4109, allocations: 12.06 kB / 0.7696 GB, free: 7.266 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.4111, allocations: 31.97 kB / 0.7696 GB, free: 7.234 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.4112, allocations: 27.95 kB / 0.7696 GB, free: 7.207 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-05/0.4113, allocations: 11.98 kB / 0.7696 GB, free: 7.195 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002782/0.4116, allocations: 195.1 kB / 0.7698 GB, free: 7.008 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.1e-07/0.4116, allocations: 0 / 0.7698 GB, free: 7.008 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004076/0.412, allocations: 59.94 kB / 0.7699 GB, free: 6.949 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,mot.uppHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled) * Number of discrete states: 8 (ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1,mot.lowHys.y,mot.uppHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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.0002617/0.4123, allocations: 141.2 kB / 0.77 GB, free: 6.805 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004973/0.4128, allocations: 267.3 kB / 0.7703 GB, free: 6.531 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.157e-06/0.4128, allocations: 0 / 0.7703 GB, free: 6.531 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002639/0.4131, allocations: 179.3 kB / 0.7704 GB, free: 6.344 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.4134, allocations: 32.83 kB / 0.7705 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.4145, allocations: 340.1 kB / 0.7708 GB, free: 5.953 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.4149, allocations: 0.7557 MB / 0.7715 GB, free: 5.168 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001028/0.4151, allocations: 13.2 kB / 0.7715 GB, free: 5.156 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.268e-05/0.4151, allocations: 15.44 kB / 0.7716 GB, free: 5.141 MB / 0.6511 GB Notification: Performance of SimCode: time 1.773e-06/0.4151, allocations: 4 kB / 0.7716 GB, free: 5.137 MB / 0.6511 GB Notification: Performance of Templates: time 0.007847/0.423, allocations: 2.327 MB / 0.7738 GB, free: 2.816 MB / 0.6511 GB