Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Controls.Discrete.Examples.BooleanDelay.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002181/0.002186, allocations: 188.1 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7795/0.7795, allocations: 82.92 MB / 99.41 MB, free: 3.238 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.135/2.135, allocations: 205.4 MB / 325.4 MB, free: 3.562 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 97.67 kB / 393.6 MB, free: 15.33 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004415/0.0004418, allocations: 8 kB / 471.5 MB, free: 66.61 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08741/0.08788, allocations: 67.45 MB / 0.5263 GB, free: 15.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002236/0.09016, allocations: 1.113 MB / 0.5274 GB, free: 14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.0916, allocations: 461.7 kB / 0.5279 GB, free: 13.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.691e-05/0.09169, allocations: 3.938 kB / 0.5279 GB, free: 13.54 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.12e-05/0.09173, allocations: 0 / 0.5279 GB, free: 13.54 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.09188, allocations: 11.98 kB / 0.5279 GB, free: 13.53 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.0921, allocations: 19.91 kB / 0.5279 GB, free: 13.51 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.09223, allocations: 27.97 kB / 0.5279 GB, free: 13.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.724e-05/0.09235, allocations: 4 kB / 0.5279 GB, free: 13.48 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.09248, allocations: 27.91 kB / 0.528 GB, free: 13.45 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.203e-05/0.09259, allocations: 15.92 kB / 0.528 GB, free: 13.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.884e-05/0.09264, allocations: 0 / 0.528 GB, free: 13.43 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.228e-05/0.09268, allocations: 4 kB / 0.528 GB, free: 13.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.29e-05/0.09273, allocations: 7.984 kB / 0.528 GB, free: 13.42 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.073e-05/0.09282, allocations: 33.64 kB / 0.528 GB, free: 13.38 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.09296, allocations: 32.22 kB / 0.5281 GB, free: 13.35 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.873e-06/0.09299, allocations: 0 / 0.5281 GB, free: 13.35 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.921e-06/0.09301, allocations: 0 / 0.5281 GB, free: 13.35 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.09303, allocations: 0 / 0.5281 GB, free: 13.35 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008953/0.09394, allocations: 388.9 kB / 0.5284 GB, free: 12.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.09401, allocations: 8.031 kB / 0.5284 GB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.777e-05/0.09408, allocations: 11.84 kB / 0.5284 GB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.09429, allocations: 171 kB / 0.5286 GB, free: 12.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.09433, allocations: 0 / 0.5286 GB, free: 12.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.09437, allocations: 8 kB / 0.5286 GB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.09458, allocations: 61.61 kB / 0.5287 GB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.09462, allocations: 0 / 0.5287 GB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.09465, allocations: 3.938 kB / 0.5287 GB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.429e-06/0.09467, allocations: 0 / 0.5287 GB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.09479, allocations: 19.98 kB / 0.5287 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006586/0.09547, allocations: 264.8 kB / 0.5289 GB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.09565, allocations: 50.53 kB / 0.529 GB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.0957, allocations: 3.984 kB / 0.529 GB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003029/0.09602, allocations: 101.2 kB / 0.5291 GB, free: 12.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 3.903e-06/0.09604, allocations: 0 / 0.5291 GB, free: 12.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006039/0.09666, allocations: 212.7 kB / 0.5293 GB, free: 11.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.09679, allocations: 89.03 kB / 0.5294 GB, free: 11.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.09699, allocations: 113.8 kB / 0.5295 GB, free: 11.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.379e-05/0.09706, allocations: 33.7 kB / 0.5295 GB, free: 11.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.452e-05/0.09716, allocations: 84.14 kB / 0.5296 GB, free: 11.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.838e-05/0.09724, allocations: 23.73 kB / 0.5296 GB, free: 11.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/0.09727, allocations: 0 / 0.5296 GB, free: 11.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002205/0.0975, allocations: 322.8 kB / 0.5299 GB, free: 11.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.105e-05/0.09759, allocations: 12 kB / 0.5299 GB, free: 11.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.09772, allocations: 38.56 kB / 0.53 GB, free: 11.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.09785, allocations: 45.7 kB / 0.53 GB, free: 11.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.09787, allocations: 0 / 0.53 GB, free: 11.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003561/0.09824, allocations: 127.2 kB / 0.5301 GB, free: 10.92 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.939e-05/0.09832, allocations: 33.69 kB / 0.5302 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.09835, allocations: 4 kB / 0.5302 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.09838, allocations: 3.938 kB / 0.5302 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.731e-05/0.09846, allocations: 4 kB / 0.5302 GB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.09848, allocations: 0 / 0.5302 GB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.09865, allocations: 20.05 kB / 0.5302 GB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.09869, allocations: 3.938 kB / 0.5302 GB, free: 10.85 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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.0001908/0.09889, allocations: 147.5 kB / 0.5304 GB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.293e-05/0.09895, allocations: 11.86 kB / 0.5304 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.999e-05/0.09902, allocations: 16.36 kB / 0.5304 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.905e-06/0.09904, allocations: 0 / 0.5304 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.437e-06/0.09906, allocations: 0 / 0.5304 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.788e-06/0.09908, allocations: 0 / 0.5304 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008768/0.09998, allocations: 404.2 kB / 0.5308 GB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.671e-06/0.1, allocations: 0 / 0.5308 GB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.979e-05/0.1, allocations: 3.938 kB / 0.5308 GB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.64e-06/0.1001, allocations: 0 / 0.5308 GB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.1001, allocations: 8.062 kB / 0.5308 GB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.085e-06/0.1001, allocations: 0 / 0.5308 GB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.771e-06/0.1001, allocations: 0 / 0.5308 GB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004734/0.1006, allocations: 237.1 kB / 0.531 GB, free: 9.938 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.221e-05/0.1007, allocations: 85.09 kB / 0.5311 GB, free: 9.836 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.578e-05/0.1008, allocations: 4 kB / 0.5311 GB, free: 9.832 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.1011, allocations: 11.98 kB / 0.5311 GB, free: 9.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.038e-05/0.1012, allocations: 7.938 kB / 0.5311 GB, free: 9.812 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.538e-05/0.1012, allocations: 7.984 kB / 0.5311 GB, free: 9.805 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001003/0.1013, allocations: 83.83 kB / 0.5312 GB, free: 9.723 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.34e-07/0.1014, allocations: 0 / 0.5312 GB, free: 9.723 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006246/0.102, allocations: 20 kB / 0.5312 GB, free: 9.703 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001699/0.1022, allocations: 99.25 kB / 0.5313 GB, free: 9.598 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003655/0.1026, allocations: 119.3 kB / 0.5314 GB, free: 9.469 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.1026, allocations: 0 / 0.5314 GB, free: 9.469 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.1028, allocations: 83.62 kB / 0.5315 GB, free: 9.375 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.1033, allocations: 15.98 kB / 0.5315 GB, free: 9.359 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006703/0.104, allocations: 172.8 kB / 0.5317 GB, free: 9.168 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/0.1044, allocations: 0.6887 MB / 0.5324 GB, free: 8.453 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.775e-05/0.1045, allocations: 4 kB / 0.5324 GB, free: 8.449 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.283e-05/0.1045, allocations: 15.38 kB / 0.5324 GB, free: 8.434 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-06/0.1045, allocations: 0 / 0.5324 GB, free: 8.434 MB / 378.7 MB Notification: Performance of Templates: time 0.003578/0.1081, allocations: 0.7294 MB / 0.5331 GB, free: 7.711 MB / 378.7 MB