Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.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.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.331/2.331, allocations: 253.2 MB / 260.6 MB, free: 7.43 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.001469/0.001469, allocations: 186.8 kB / 319.9 MB, free: 3.09 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.104/2.104, 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.001105/0.001105, allocations: 88.97 kB / 0.6751 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.874e-05/2.887e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.207, allocations: 106.3 MB / 0.8887 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9095/1.117, allocations: 138.7 MB / 1.024 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003589/1.117, allocations: 92.75 kB / 1.024 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.05621/1.173, allocations: 12.79 MB / 1.037 GB, free: 3.859 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.743e-06/1.173, allocations: 0 / 1.037 GB, free: 3.859 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.104e-05/1.173, allocations: 4 kB / 1.037 GB, free: 3.855 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.001144/1.174, allocations: 0.7021 MB / 1.037 GB, free: 3.129 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/1.175, allocations: 12.03 kB / 1.037 GB, free: 3.117 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/1.175, allocations: 63.25 kB / 1.037 GB, free: 3.055 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006581/1.175, allocations: 347.1 kB / 1.038 GB, free: 2.688 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/1.175, allocations: 4 kB / 1.038 GB, free: 2.684 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/1.175, allocations: 8 kB / 1.038 GB, free: 2.676 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000277/1.176, allocations: 93.33 kB / 1.038 GB, free: 2.605 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002957/1.176, allocations: 120.2 kB / 1.038 GB, free: 2.504 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/1.176, allocations: 0 / 1.038 GB, free: 2.504 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/1.176, allocations: 0 / 1.038 GB, free: 2.504 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/1.176, allocations: 4 kB / 1.038 GB, free: 2.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/1.177, allocations: 0.5037 MB / 1.039 GB, free: 2.039 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000252/1.178, allocations: 115.4 kB / 1.039 GB, free: 1.941 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/1.178, allocations: 73.41 kB / 1.039 GB, free: 1.887 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.06e-05/1.178, allocations: 11.94 kB / 1.039 GB, free: 1.875 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002558/1.178, allocations: 139.4 kB / 1.039 GB, free: 1.738 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 2.825e-06/1.178, allocations: 0 / 1.039 GB, free: 1.738 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0007372/1.179, allocations: 240 kB / 1.039 GB, free: 1.527 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/1.179, allocations: 85.05 kB / 1.039 GB, free: 1.426 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/1.18, allocations: 0.6036 MB / 1.04 GB, free: 0.9492 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/1.18, allocations: 29.7 kB / 1.04 GB, free: 0.9141 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003218/1.18, allocations: 283.8 kB / 1.04 GB, free: 0.7656 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.574e-05/1.18, allocations: 23.52 kB / 1.04 GB, free: 0.7461 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.156e-05/1.18, allocations: 3.938 kB / 1.04 GB, free: 0.7422 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002196/1.181, allocations: 373 kB / 1.04 GB, free: 400 kB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/1.181, allocations: 49.67 kB / 1.04 GB, free: 364 kB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/1.181, allocations: 49.03 kB / 1.041 GB, free: 328 kB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/1.181, allocations: 54.2 kB / 1.041 GB, free: 288 kB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.181, allocations: 4 kB / 1.041 GB, free: 284 kB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005918/1.182, allocations: 244.4 kB / 1.041 GB, free: 64 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.02e-05/1.182, allocations: 33.66 kB / 1.041 GB, free: 24 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/1.182, allocations: 0 / 1.041 GB, free: 24 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/1.182, allocations: 4 kB / 1.041 GB, free: 20 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/1.182, allocations: 19.36 kB / 1.041 GB, free: 4 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/1.182, allocations: 4 kB / 1.041 GB, free: 0 / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/1.182, allocations: 8.094 kB / 1.041 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.07e-05/1.182, allocations: 8 kB / 1.041 GB, free: 15.98 MB / 0.6667 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 (7): * Single equations (assignments): 6 * 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.0001605/1.183, allocations: 147.6 kB / 1.041 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.23e-05/1.183, allocations: 59.09 kB / 1.041 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008825/1.184, allocations: 278.2 kB / 1.041 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/1.184, allocations: 4 kB / 1.041 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/1.184, allocations: 0 / 1.041 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/1.184, allocations: 0 / 1.041 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005419/1.184, allocations: 347.6 kB / 1.042 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/1.184, allocations: 0 / 1.042 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.754e-05/1.184, allocations: 7.938 kB / 1.042 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/1.184, allocations: 4 kB / 1.042 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/1.184, allocations: 0 / 1.042 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/1.184, allocations: 8 kB / 1.042 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/1.184, allocations: 3.953 kB / 1.042 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006668/1.185, allocations: 298.3 kB / 1.042 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002159/1.185, allocations: 136.3 kB / 1.042 GB, free: 14.78 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.222e-05/1.185, allocations: 7.984 kB / 1.042 GB, free: 14.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/1.186, allocations: 4.188 kB / 1.042 GB, free: 14.77 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.665e-05/1.186, allocations: 11.8 kB / 1.042 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.983e-05/1.186, allocations: 19.95 kB / 1.042 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009082/1.187, allocations: 0.4941 MB / 1.043 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.11e-07/1.187, allocations: 0 / 1.043 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007253/1.187, allocations: 143.4 kB / 1.043 GB, free: 14.23 MB / 0.6667 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 (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 Backend phase and start with SimCode phase: time 0.0008842/1.188, allocations: 359.9 kB / 1.043 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003841/1.189, allocations: 193.2 kB / 1.043 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.189, allocations: 0 / 1.043 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001921/1.189, allocations: 139.9 kB / 1.043 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007616/1.19, allocations: 99.3 kB / 1.044 GB, free: 13.54 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/1.192, allocations: 0.7832 MB / 1.044 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008184/1.192, allocations: 0.9716 MB / 1.045 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001556/1.193, allocations: 25.31 kB / 1.045 GB, free: 11.87 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.55e-05/1.193, allocations: 15.44 kB / 1.045 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of SimCode: time 8.82e-07/1.193, allocations: 0 / 1.045 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of Templates: time 0.01784/1.21, allocations: 5.123 MB / 1.05 GB, free: 6.793 MB / 0.6667 GB