Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.628/5.628, allocations: 0.5623 GB / 0.5776 GB, free: 3.316 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.002472/0.002471, allocations: 360.1 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.73/4.73, allocations: 410.7 MB / 1.113 GB, free: 5.934 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.0018/0.0018, allocations: 173.7 kB / 1.226 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007387/0.0007389, allocations: 12 kB / 1.349 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7998/0.8006, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001288/0.8019, allocations: 0.6523 MB / 1.462 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001917/0.8039, allocations: 1.224 MB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.022e-05/0.804, allocations: 0 / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 9.854e-05/0.8041, allocations: 4.656 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.8043, allocations: 37.39 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008799/0.8052, allocations: 211.4 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003049/0.8055, allocations: 272.4 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.8057, allocations: 29.84 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.8058, allocations: 99.67 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.806, allocations: 89.36 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.921e-05/0.806, allocations: 12 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.8061, allocations: 23.98 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.415e-05/0.8062, allocations: 35.84 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.184e-05/0.8063, allocations: 58.89 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003048/0.8066, allocations: 245.4 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.8066, allocations: 4 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.805e-06/0.8066, allocations: 0 / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.8067, allocations: 1.156 kB / 1.464 GB, free: 281.4 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001013/0.8077, allocations: 0.5359 MB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.8077, allocations: 14.22 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.47e-05/0.8078, allocations: 23.72 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.8082, allocations: 258.4 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/0.8082, allocations: 12 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-05/0.8083, allocations: 12 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006138/0.8089, allocations: 184.1 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.8089, allocations: 7.938 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.809, allocations: 4.562 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.809, allocations: 6.609 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/0.8104, allocations: 163.4 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002285/0.8127, allocations: 0.9008 MB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.8137, allocations: 181.7 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007445/0.8145, allocations: 104.5 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.397e-05/0.8146, allocations: 1.656 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008961/0.8155, allocations: 203.9 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 7.323e-06/0.8155, allocations: 2.656 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.002697/0.8182, allocations: 331.3 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.262e-05/0.8184, allocations: 162.1 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003506/0.8187, allocations: 202 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001256/0.8189, allocations: 33.69 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.819, allocations: 128.8 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.748e-05/0.8191, allocations: 32.47 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-05/0.8192, allocations: 8 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.827e-05/0.8193, allocations: 332.8 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/0.8205, allocations: 138.9 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/0.8216, allocations: 195.4 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009649/0.8226, allocations: 192.2 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.8227, allocations: 0 / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.002403/0.8251, allocations: 435.8 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.539e-05/0.8252, allocations: 67.95 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.8253, allocations: 4 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.8253, allocations: 1.062 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/0.8256, allocations: 41.56 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.8256, allocations: 11.92 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008713/0.8265, allocations: 109.2 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.654e-05/0.8266, allocations: 17.53 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.pul1.booPul.y,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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.0002/0.8268, allocations: 133.8 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.819e-05/0.8269, allocations: 24.41 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.862e-05/0.8269, allocations: 18.39 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.8269, allocations: 3.797 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.827, allocations: 4 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.056e-05/0.827, allocations: 96.91 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.8271, allocations: 5.219 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.8273, allocations: 25.53 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.921e-05/0.8274, allocations: 24.66 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00125/0.8287, allocations: 0.6321 MB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001129/0.8298, allocations: 0.6984 MB / 1.471 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005574/0.8304, allocations: 106.6 kB / 1.471 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001975/0.8306, allocations: 144.6 kB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of Backend: time 1.032e-06/0.8307, allocations: 2.562 kB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001818/0.8325, allocations: 396 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of SimCode: time 0.001086/0.8336, allocations: 0.7856 MB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.008841/0.8425, allocations: 3.053 MB / 1.475 GB, free: 270.1 MB / 0.8542 GB