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.002405/0.002411, allocations: 357.8 kB / 15.95 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.5/1.5, allocations: 165.8 MB / 182.5 MB, free: 5.426 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.973/3.973, allocations: 410.8 MB / 0.5995 GB, free: 15.16 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001704/0.001704, allocations: 199 kB / 0.6662 GB, free: 6.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004942/0.0004944, allocations: 12 kB / 0.7423 GB, free: 8.988 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3838, allocations: 67.44 MB / 0.8081 GB, free: 28.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.001353/0.3852, allocations: 1.126 MB / 0.8092 GB, free: 27.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006672/0.3859, allocations: 449.3 kB / 0.8097 GB, free: 27.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.929e-05/0.386, allocations: 3.938 kB / 0.8097 GB, free: 27.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.376e-05/0.386, allocations: 3.938 kB / 0.8097 GB, free: 27.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.232e-05/0.3861, allocations: 7.922 kB / 0.8097 GB, free: 27.22 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001277/0.3862, allocations: 15.98 kB / 0.8097 GB, free: 27.2 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.702e-05/0.3863, allocations: 39.86 kB / 0.8097 GB, free: 27.16 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.397e-05/0.3864, allocations: 7.984 kB / 0.8097 GB, free: 27.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.311e-05/0.3865, allocations: 23.86 kB / 0.8098 GB, free: 27.13 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.608e-05/0.3865, allocations: 19.92 kB / 0.8098 GB, free: 27.11 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.3866, allocations: 4 kB / 0.8098 GB, free: 27.11 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.201e-05/0.3866, allocations: 4 kB / 0.8098 GB, free: 27.11 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.3866, allocations: 3.984 kB / 0.8098 GB, free: 27.1 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.562e-05/0.3867, allocations: 29.7 kB / 0.8098 GB, free: 27.07 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 6.508e-05/0.3867, allocations: 26.06 kB / 0.8099 GB, free: 27.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.436e-06/0.3868, allocations: 0 / 0.8099 GB, free: 27.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.42e-06/0.3868, allocations: 0 / 0.8099 GB, free: 27.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.84e-06/0.3868, allocations: 3.938 kB / 0.8099 GB, free: 27.04 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.0004755/0.3873, allocations: 392.9 kB / 0.8102 GB, free: 26.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.3873, allocations: 8.031 kB / 0.8102 GB, free: 26.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.3874, allocations: 11.91 kB / 0.8102 GB, free: 26.58 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.76e-05/0.3875, allocations: 167.1 kB / 0.8104 GB, free: 26.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.3875, allocations: 3.938 kB / 0.8104 GB, free: 26.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.3875, allocations: 7.984 kB / 0.8104 GB, free: 26.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.3876, allocations: 53.64 kB / 0.8105 GB, free: 26.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.724e-06/0.3877, allocations: 4 kB / 0.8105 GB, free: 26.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.3877, allocations: 0 / 0.8105 GB, free: 26.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.218e-06/0.3877, allocations: 0 / 0.8105 GB, free: 26.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.994e-05/0.3878, allocations: 23.92 kB / 0.8105 GB, free: 26.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003779/0.3882, allocations: 268.8 kB / 0.8108 GB, free: 25.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.3883, allocations: 46.52 kB / 0.8108 GB, free: 25.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.606e-05/0.3884, allocations: 20.98 kB / 0.8108 GB, free: 25.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.3884, allocations: 3.984 kB / 0.8108 GB, free: 25.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/0.3886, allocations: 104.9 kB / 0.8109 GB, free: 25.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.785e-06/0.3886, allocations: 0 / 0.8109 GB, free: 25.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003016/0.3889, allocations: 139.7 kB / 0.8111 GB, free: 25.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.389, allocations: 88.98 kB / 0.8111 GB, free: 25.51 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.3891, allocations: 121.8 kB / 0.8113 GB, free: 25.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.3892, allocations: 25.7 kB / 0.8113 GB, free: 25.35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.958e-05/0.3893, allocations: 92.14 kB / 0.8114 GB, free: 25.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.3893, allocations: 11.81 kB / 0.8114 GB, free: 25.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.029e-06/0.3893, allocations: 4 kB / 0.8114 GB, free: 25.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.3895, allocations: 318.8 kB / 0.8117 GB, free: 24.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.906e-05/0.3896, allocations: 15.98 kB / 0.8117 GB, free: 24.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.64e-05/0.3896, allocations: 34.58 kB / 0.8117 GB, free: 24.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.909e-05/0.3897, allocations: 49.69 kB / 0.8118 GB, free: 24.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.982e-06/0.3897, allocations: 4 kB / 0.8118 GB, free: 24.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001925/0.3899, allocations: 127.2 kB / 0.8119 GB, free: 24.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/0.39, allocations: 29.7 kB / 0.8119 GB, free: 24.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.975e-06/0.39, allocations: 4 kB / 0.8119 GB, free: 24.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.39, allocations: 0 / 0.8119 GB, free: 24.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.61e-05/0.3901, allocations: 7.938 kB / 0.8119 GB, free: 24.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.3901, allocations: 3.984 kB / 0.812 GB, free: 24.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.846e-05/0.3902, allocations: 12.06 kB / 0.812 GB, free: 24.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.3902, allocations: 4 kB / 0.812 GB, free: 24.6 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 9.577e-05/0.3903, allocations: 151.5 kB / 0.8121 GB, free: 24.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/0.3904, allocations: 11.95 kB / 0.8121 GB, free: 24.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.934e-05/0.3904, allocations: 8.375 kB / 0.8121 GB, free: 24.42 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.971e-06/0.3904, allocations: 0 / 0.8121 GB, free: 24.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.292e-06/0.3905, allocations: 0 / 0.8121 GB, free: 24.42 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.452e-06/0.3905, allocations: 0 / 0.8121 GB, free: 24.42 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004561/0.3909, allocations: 412.1 kB / 0.8125 GB, free: 23.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.614e-06/0.391, allocations: 0 / 0.8125 GB, free: 23.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.313e-05/0.391, allocations: 3.984 kB / 0.8125 GB, free: 23.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.763e-06/0.391, allocations: 4 kB / 0.8125 GB, free: 23.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.391, allocations: 4 kB / 0.8125 GB, free: 23.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.193e-06/0.391, allocations: 0 / 0.8125 GB, free: 23.94 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.791e-06/0.391, allocations: 0 / 0.8125 GB, free: 23.94 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.3913, allocations: 237.1 kB / 0.8128 GB, free: 23.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.927e-05/0.3913, allocations: 89.02 kB / 0.8128 GB, free: 23.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.3914, allocations: 0 / 0.8128 GB, free: 23.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.3915, allocations: 15.98 kB / 0.8129 GB, free: 23.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.337e-05/0.3916, allocations: 7.984 kB / 0.8129 GB, free: 23.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.3916, allocations: 4 kB / 0.8129 GB, free: 23.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.843e-05/0.3917, allocations: 83.28 kB / 0.813 GB, free: 23.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.54e-07/0.3917, allocations: 0 / 0.813 GB, free: 23.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003252/0.392, allocations: 16 kB / 0.813 GB, free: 23.46 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 9.676e-05/0.3921, allocations: 111.2 kB / 0.8131 GB, free: 23.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002026/0.3923, allocations: 111.3 kB / 0.8132 GB, free: 23.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.561e-06/0.3923, allocations: 0 / 0.8132 GB, free: 23.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.88e-05/0.3924, allocations: 87.39 kB / 0.8133 GB, free: 23.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.3928, allocations: 19.94 kB / 0.8133 GB, free: 23.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000353/0.3932, allocations: 164.7 kB / 0.8134 GB, free: 22.92 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.3934, allocations: 0.6887 MB / 0.8141 GB, free: 22.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.603e-05/0.3934, allocations: 4 kB / 0.8141 GB, free: 22.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.3935, allocations: 11.44 kB / 0.8141 GB, free: 22.19 MB / 378.7 MB Notification: Performance of SimCode: time 1.993e-06/0.3935, allocations: 0 / 0.8141 GB, free: 22.19 MB / 378.7 MB Notification: Performance of Templates: time 0.003504/0.397, allocations: 0.7462 MB / 0.8149 GB, free: 21.45 MB / 378.7 MB