Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.293/2.293, allocations: 253.2 MB / 260.6 MB, free: 7.453 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001491/0.00149, allocations: 166.8 kB / 319.9 MB, free: 3.031 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.108/2.108, allocations: 205.6 MB / 0.5709 GB, free: 15.25 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00115/0.00115, allocations: 80.47 kB / 0.6751 GB, free: 4.629 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.361e-05/2.376e-05, allocations: 7.984 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2222, allocations: 106.2 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9747/1.197, allocations: 134.9 MB / 1.02 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003141/1.197, allocations: 85.62 kB / 1.02 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02892/1.226, allocations: 5.796 MB / 1.026 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.573e-06/1.226, allocations: 4 kB / 1.026 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.181e-05/1.226, allocations: 4 kB / 1.026 GB, free: 13.49 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001199/1.228, allocations: 0.5506 MB / 1.027 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/1.228, allocations: 19.94 kB / 1.027 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/1.228, allocations: 35.58 kB / 1.027 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000641/1.228, allocations: 282.4 kB / 1.027 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/1.228, allocations: 7.125 kB / 1.027 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.038e-05/1.229, allocations: 12 kB / 1.027 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003672/1.229, allocations: 131.4 kB / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005346/1.229, allocations: 217.3 kB / 1.027 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/1.229, allocations: 0 / 1.027 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.898e-05/1.23, allocations: 4 kB / 1.027 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/1.23, allocations: 0 / 1.027 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/1.231, allocations: 0.6971 MB / 1.028 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003449/1.231, allocations: 155.5 kB / 1.028 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/1.232, allocations: 98.16 kB / 1.028 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/1.232, allocations: 0 / 1.028 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003593/1.232, allocations: 188.3 kB / 1.028 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 2.154e-06/1.232, allocations: 0 / 1.028 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0009258/1.233, allocations: 306 kB / 1.029 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.695e-05/1.233, allocations: 132.5 kB / 1.029 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003404/1.233, allocations: 227.5 kB / 1.029 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.106e-05/1.233, allocations: 29.7 kB / 1.029 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000154/1.234, allocations: 161.5 kB / 1.029 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.192e-05/1.234, allocations: 46.56 kB / 1.029 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-05/1.234, allocations: 0 / 1.029 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001626/1.234, allocations: 338.2 kB / 1.03 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/1.234, allocations: 93.22 kB / 1.03 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/1.234, allocations: 137.1 kB / 1.03 GB, free: 9.914 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/1.235, allocations: 90.61 kB / 1.03 GB, free: 9.848 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.235, allocations: 3.938 kB / 1.03 GB, free: 9.844 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008438/1.236, allocations: 327.7 kB / 1.03 GB, free: 9.574 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.69e-05/1.236, allocations: 43.03 kB / 1.03 GB, free: 9.527 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/1.236, allocations: 0.7031 kB / 1.03 GB, free: 9.527 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/1.236, allocations: 4 kB / 1.03 GB, free: 9.523 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/1.236, allocations: 27.55 kB / 1.03 GB, free: 9.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/1.236, allocations: 8.094 kB / 1.03 GB, free: 9.492 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003069/1.236, allocations: 39.81 kB / 1.03 GB, free: 9.453 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.903e-05/1.236, allocations: 8 kB / 1.03 GB, free: 9.445 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 ($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,mot.int.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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.0001739/1.237, allocations: 154 kB / 1.031 GB, free: 9.285 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.833e-05/1.237, allocations: 27.67 kB / 1.031 GB, free: 9.258 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.224e-05/1.237, allocations: 28.02 kB / 1.031 GB, free: 9.238 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/1.237, allocations: 4 kB / 1.031 GB, free: 9.234 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.237, allocations: 0 / 1.031 GB, free: 9.234 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/1.237, allocations: 0 / 1.031 GB, free: 9.234 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003541/1.237, allocations: 256.4 kB / 1.031 GB, free: 8.984 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/1.237, allocations: 0 / 1.031 GB, free: 8.984 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/1.237, allocations: 23.17 kB / 1.031 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/1.237, allocations: 4 kB / 1.031 GB, free: 8.961 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.349e-05/1.237, allocations: 11.95 kB / 1.031 GB, free: 8.949 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/1.237, allocations: 0 / 1.031 GB, free: 8.949 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.237, allocations: 0 / 1.031 GB, free: 8.949 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/1.239, allocations: 485.3 kB / 1.031 GB, free: 8.562 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.232e-05/1.239, allocations: 100.8 kB / 1.031 GB, free: 8.445 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.86e-05/1.239, allocations: 7.062 kB / 1.031 GB, free: 8.441 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/1.239, allocations: 35.98 kB / 1.031 GB, free: 8.406 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/1.239, allocations: 27.33 kB / 1.032 GB, free: 8.383 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.804e-05/1.239, allocations: 11.75 kB / 1.032 GB, free: 8.375 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002493/1.24, allocations: 179.5 kB / 1.032 GB, free: 8.227 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.21e-07/1.24, allocations: 0 / 1.032 GB, free: 8.227 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004586/1.24, allocations: 67.83 kB / 1.032 GB, free: 8.16 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 (10): * Single equations (assignments): 9 * 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.0003117/1.24, allocations: 144.8 kB / 1.032 GB, free: 8.016 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005021/1.241, allocations: 261.7 kB / 1.032 GB, free: 7.82 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/1.241, allocations: 0 / 1.032 GB, free: 7.82 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002481/1.241, allocations: 167.4 kB / 1.032 GB, free: 7.688 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/1.242, allocations: 30.7 kB / 1.032 GB, free: 7.668 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/1.243, allocations: 351.4 kB / 1.033 GB, free: 7.336 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004312/1.243, allocations: 0.763 MB / 1.033 GB, free: 6.551 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001438/1.244, allocations: 13.2 kB / 1.033 GB, free: 6.539 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.65e-05/1.244, allocations: 15.44 kB / 1.033 GB, free: 6.523 MB / 0.6511 GB Notification: Performance of SimCode: time 1.182e-06/1.244, allocations: 0 / 1.033 GB, free: 6.523 MB / 0.6511 GB Notification: Performance of Templates: time 0.009263/1.253, allocations: 2.331 MB / 1.036 GB, free: 4.23 MB / 0.6511 GB