Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.889/4.889, allocations: 0.5623 GB / 0.5776 GB, free: 3.352 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002617/0.002616, allocations: 361.7 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.431/4.431, allocations: 410.7 MB / 1.113 GB, free: 5.961 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001756/0.001756, allocations: 187.1 kB / 1.226 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007785/0.0007788, allocations: 12 kB / 1.349 GB, free: 8.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7824/0.7832, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.003154/0.7864, allocations: 1.667 MB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004837/0.7913, allocations: 2.3 MB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/0.7916, allocations: 0.5625 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001985/0.7936, allocations: 466.8 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.7938, allocations: 48.92 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.7951, allocations: 200.8 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0005392/0.7956, allocations: 285.4 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002663/0.7959, allocations: 73.16 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.7961, allocations: 103.5 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002365/0.7963, allocations: 115.4 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.88e-05/0.7964, allocations: 3.938 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008182/0.7972, allocations: 292.2 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.7974, allocations: 91.61 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.7975, allocations: 120.3 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0009681/0.7985, allocations: 0.5885 MB / 1.468 GB, free: 278 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.7986, allocations: 1.062 kB / 1.468 GB, free: 278 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.963e-06/0.7986, allocations: 0 / 1.468 GB, free: 278 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.659e-05/0.7986, allocations: 0 / 1.468 GB, free: 278 MB / 0.8542 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.001378/0.8, allocations: 0.7803 MB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.8001, allocations: 18.19 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.8002, allocations: 67.2 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005595/0.8008, allocations: 331.8 kB / 1.469 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.8008, allocations: 8 kB / 1.469 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/0.8009, allocations: 4 kB / 1.469 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003716/0.8013, allocations: 130.2 kB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.8013, allocations: 1.656 kB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.8013, allocations: 0 / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.8013, allocations: 0 / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002885/0.8016, allocations: 108 kB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.8028, allocations: 0.5414 MB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/0.8032, allocations: 106.2 kB / 1.47 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.8033, allocations: 61.62 kB / 1.47 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.845e-05/0.8034, allocations: 8.875 kB / 1.47 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003099/0.8037, allocations: 125.8 kB / 1.47 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 3.957e-06/0.8038, allocations: 4.625 kB / 1.47 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0007781/0.8045, allocations: 310.4 kB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.8046, allocations: 82.92 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/0.8062, allocations: 0.7503 MB / 1.471 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.8063, allocations: 29.7 kB / 1.471 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003808/0.8067, allocations: 273.5 kB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.152e-05/0.8067, allocations: 27.56 kB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.22e-05/0.8068, allocations: 0 / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.424e-05/0.8069, allocations: 319.1 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.807, allocations: 43.98 kB / 1.472 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.8072, allocations: 49.61 kB / 1.472 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.8074, allocations: 76.38 kB / 1.472 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.8074, allocations: 0 / 1.472 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005793/0.808, allocations: 266.5 kB / 1.472 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.126e-05/0.808, allocations: 37.69 kB / 1.472 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.8081, allocations: 0 / 1.472 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.8081, allocations: 0 / 1.472 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.8082, allocations: 11.94 kB / 1.472 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.8083, allocations: 1.281 kB / 1.472 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002866/0.8086, allocations: 11.98 kB / 1.472 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.8086, allocations: 10 kB / 1.472 GB, free: 273.2 MB / 0.8542 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,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 0 () * Number of clocked 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.0005723/0.8092, allocations: 332 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.8093, allocations: 63.2 kB / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007586/0.8101, allocations: 304.7 kB / 1.473 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.8101, allocations: 0 / 1.473 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.8101, allocations: 0 / 1.473 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002083/0.8104, allocations: 144.3 kB / 1.473 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.8105, allocations: 3.984 kB / 1.473 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002733/0.8108, allocations: 13.47 kB / 1.473 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/0.8109, allocations: 4 kB / 1.473 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006146/0.8115, allocations: 359.1 kB / 1.473 GB, free: 272 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006523/0.8122, allocations: 461.5 kB / 1.474 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000193/0.8124, allocations: 83.97 kB / 1.474 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001287/0.8137, allocations: 0.5575 MB / 1.474 GB, free: 270.9 MB / 0.8542 GB Notification: Performance of Backend: time 7.31e-07/0.8137, allocations: 0.8125 kB / 1.474 GB, free: 270.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001495/0.8152, allocations: 315.3 kB / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0032/0.8184, allocations: 1.674 MB / 1.476 GB, free: 268.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.01854/0.837, allocations: 5 MB / 1.481 GB, free: 264.2 MB / 0.8542 GB