Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.Continuous.Examples.SignalRanker.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.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.961/4.961, allocations: 0.5623 GB / 0.5776 GB, free: 3.379 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.002783/0.002782, allocations: 362.4 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.385/4.385, allocations: 410.7 MB / 1.113 GB, free: 5.867 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.001874/0.001874, allocations: 190.2 kB / 1.226 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007486/0.0007487, allocations: 15.98 kB / 1.349 GB, free: 8.215 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.887/0.8878, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002707/0.8906, allocations: 1.254 MB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.8921, allocations: 0.4884 MB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.441e-05/0.8922, allocations: 0 / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000113/0.8924, allocations: 7.938 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 9.896e-05/0.8925, allocations: 14.08 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003349/0.8929, allocations: 35.89 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.8931, allocations: 99.62 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.8932, allocations: 15.56 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.8934, allocations: 47.83 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.8936, allocations: 43.83 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.499e-05/0.8937, allocations: 4 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 3.155e-05/0.8937, allocations: 4 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.212e-05/0.8938, allocations: 18.48 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.462e-05/0.8939, allocations: 37.7 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.8941, allocations: 65.97 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.8941, allocations: 0 / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8941, allocations: 0 / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.8941, allocations: 0 / 1.463 GB, free: 282.2 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001359/0.8955, allocations: 476.8 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/0.8956, allocations: 16.47 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.023e-05/0.8957, allocations: 8.609 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.896, allocations: 195.3 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.896, allocations: 9.5 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.89e-05/0.8961, allocations: 7.938 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007422/0.8968, allocations: 134.8 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.8969, allocations: 0.5 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.549e-05/0.8969, allocations: 7.672 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.8969, allocations: 7.875 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000944/0.8979, allocations: 130.1 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.8991, allocations: 368.7 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008618/0.9, allocations: 149.3 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005657/0.9006, allocations: 107.8 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.9007, allocations: 0 / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000744/0.9014, allocations: 146.2 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=10): time 4.198e-06/0.9015, allocations: 0 / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10): time 0.001887/0.9034, allocations: 345.1 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.9035, allocations: 87.64 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.9037, allocations: 145.2 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.9037, allocations: 25.7 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.355e-05/0.9038, allocations: 100 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.582e-05/0.9039, allocations: 31.55 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.181e-05/0.9039, allocations: 4 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.442e-05/0.904, allocations: 324.5 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005522/0.9046, allocations: 85.53 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005507/0.9052, allocations: 89.81 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005807/0.9058, allocations: 150.8 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.9058, allocations: 0 / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001334/0.9072, allocations: 301.3 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.327e-05/0.9073, allocations: 71.39 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.9073, allocations: 0 / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.9073, allocations: 5.125 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003572/0.9077, allocations: 29.12 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.9077, allocations: 480 / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004892/0.9082, allocations: 42.61 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.872e-05/0.9083, allocations: 8 kB / 1.467 GB, free: 278.4 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: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0002057/0.9085, allocations: 170.9 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.858e-05/0.9086, allocations: 18.11 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.723e-05/0.9087, allocations: 16.7 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.9087, allocations: 0 / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.9087, allocations: 1.312 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.904e-05/0.9088, allocations: 85.02 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.869e-05/0.9088, allocations: 4 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004401/0.9093, allocations: 33.73 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/0.9095, allocations: 23.97 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001659/0.9112, allocations: 443.4 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001351/0.9126, allocations: 453.6 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006352/0.9132, allocations: 129.8 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001097/0.9134, allocations: 108.1 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of Backend: time 1.002e-06/0.9134, allocations: 2.031 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001337/0.9147, allocations: 334.5 kB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of SimCode: time 0.000891/0.9156, allocations: 0.7466 MB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.008251/0.9239, allocations: 1.715 MB / 1.471 GB, free: 274.1 MB / 0.8542 GB