Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004269/0.004273, allocations: 233.5 kB / 15.82 MB, free: 6.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001168/0.001168, allocations: 174 kB / 16.7 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.78/3.78, allocations: 389.1 MB / 406.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.981/3.981, allocations: 472.3 MB / 0.9024 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004974/0.0004976, allocations: 12.22 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1848, allocations: 98.71 MB / 1.105 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8058/0.9907, allocations: 127.3 MB / 1.229 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003239/0.991, allocations: 91.17 kB / 1.229 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.02572/1.017, allocations: 5.624 MB / 1.235 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.064e-06/1.017, allocations: 0 / 1.235 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.826e-05/1.017, allocations: 4 kB / 1.235 GB, free: 23.16 MB / 0.6198 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.001105/1.018, allocations: 0.5709 MB / 1.235 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/1.018, allocations: 12.03 kB / 1.235 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.256e-05/1.018, allocations: 23.72 kB / 1.235 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005098/1.019, allocations: 291.8 kB / 1.235 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/1.019, allocations: 8.109 kB / 1.235 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.997e-05/1.019, allocations: 17.45 kB / 1.235 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006233/1.019, allocations: 239 kB / 1.236 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/1.019, allocations: 4 kB / 1.236 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.405e-05/1.019, allocations: 2.875 kB / 1.236 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/1.019, allocations: 4 kB / 1.236 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004551/1.02, allocations: 157 kB / 1.236 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/1.021, allocations: 0.5618 MB / 1.236 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007528/1.022, allocations: 217.6 kB / 1.237 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003387/1.022, allocations: 119.3 kB / 1.237 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/1.022, allocations: 2.031 kB / 1.237 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004581/1.023, allocations: 200.5 kB / 1.237 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 3.336e-06/1.023, allocations: 0 / 1.237 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.001292/1.024, allocations: 408.7 kB / 1.237 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/1.024, allocations: 139.7 kB / 1.237 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003547/1.024, allocations: 263.8 kB / 1.238 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/1.025, allocations: 33.39 kB / 1.238 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/1.025, allocations: 145.5 kB / 1.238 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.132e-05/1.025, allocations: 38.56 kB / 1.238 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.859e-05/1.025, allocations: 3.562 kB / 1.238 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001424/1.025, allocations: 342.5 kB / 1.238 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003444/1.025, allocations: 115 kB / 1.238 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000374/1.026, allocations: 139.9 kB / 1.238 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/1.026, allocations: 138.1 kB / 1.239 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.026, allocations: 0 / 1.239 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008536/1.027, allocations: 327.8 kB / 1.239 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.406e-05/1.027, allocations: 39.48 kB / 1.239 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/1.027, allocations: 3.094 kB / 1.239 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/1.027, allocations: 4 kB / 1.239 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/1.027, allocations: 23.05 kB / 1.239 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/1.027, allocations: 4 kB / 1.239 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002674/1.028, allocations: 42.17 kB / 1.239 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.196e-05/1.028, allocations: 10.95 kB / 1.239 GB, free: 19.46 MB / 0.6198 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 () * Number of clocked 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.0002411/1.028, allocations: 183.5 kB / 1.239 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.181e-05/1.028, allocations: 31.66 kB / 1.239 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.353e-05/1.028, allocations: 26.97 kB / 1.239 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/1.028, allocations: 0.7188 kB / 1.239 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/1.028, allocations: 3.953 kB / 1.239 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.028, allocations: 4.594 kB / 1.239 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002973/1.028, allocations: 303.4 kB / 1.24 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/1.028, allocations: 0 / 1.24 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/1.029, allocations: 19.83 kB / 1.24 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/1.029, allocations: 1.406 kB / 1.24 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/1.029, allocations: 8 kB / 1.24 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/1.029, allocations: 0 / 1.24 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.029, allocations: 1.406 kB / 1.24 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/1.03, allocations: 0.5065 MB / 1.24 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.959e-05/1.03, allocations: 99.33 kB / 1.24 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.967e-05/1.03, allocations: 7.062 kB / 1.24 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002502/1.03, allocations: 32.09 kB / 1.24 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/1.031, allocations: 30.16 kB / 1.24 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.542e-05/1.031, allocations: 14 kB / 1.24 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002543/1.031, allocations: 192.3 kB / 1.24 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.31e-07/1.031, allocations: 0 / 1.24 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004159/1.031, allocations: 67.62 kB / 1.24 GB, free: 18.25 MB / 0.6198 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) * Number of clocked states: 0 () * 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.0002567/1.032, allocations: 139.5 kB / 1.241 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007643/1.032, allocations: 305.2 kB / 1.241 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.032, allocations: 5.094 kB / 1.241 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003667/1.033, allocations: 203.1 kB / 1.241 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/1.033, allocations: 31.5 kB / 1.241 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/1.035, allocations: 0.4948 MB / 1.242 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007035/1.035, allocations: 0.7577 MB / 1.242 GB, free: 32.57 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001241/1.035, allocations: 11.69 kB / 1.242 GB, free: 32.57 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.52e-05/1.035, allocations: 15.44 kB / 1.242 GB, free: 32.56 MB / 0.6355 GB Notification: Performance of SimCode: time 9.92e-07/1.035, allocations: 0 / 1.242 GB, free: 32.56 MB / 0.6355 GB Notification: Performance of Templates: time 0.007762/1.043, allocations: 2.337 MB / 1.245 GB, free: 30.42 MB / 0.6355 GB