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.004171/0.004171, allocations: 352.8 kB / 16.57 MB, free: 5.566 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.433/1.433, allocations: 165.8 MB / 183.1 MB, free: 5.398 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.617/3.617, allocations: 410.7 MB / 0.6001 GB, free: 15.22 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.001746/0.001745, allocations: 190.3 kB / 0.6668 GB, free: 6.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004501/0.0004502, allocations: 12 kB / 0.7429 GB, free: 8.984 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4006, allocations: 67.44 MB / 0.8087 GB, free: 28.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1678/0.5684, allocations: 98.91 MB / 0.9053 GB, free: 9.77 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.5688, allocations: 75.95 kB / 0.9054 GB, free: 9.695 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005043/0.5738, allocations: 1.201 MB / 0.9066 GB, free: 8.488 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.5739, allocations: 0 / 0.9066 GB, free: 8.488 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.5739, allocations: 4 kB / 0.9066 GB, free: 8.484 MB / 458.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.0006198/0.5745, allocations: 392.9 kB / 0.9069 GB, free: 8.047 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.5746, allocations: 8.031 kB / 0.9069 GB, free: 8.039 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.638e-05/0.5746, allocations: 7.906 kB / 0.9069 GB, free: 8.031 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.5748, allocations: 163.1 kB / 0.9071 GB, free: 7.832 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.5748, allocations: 4 kB / 0.9071 GB, free: 7.828 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.5749, allocations: 8 kB / 0.9071 GB, free: 7.82 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.575, allocations: 53.61 kB / 0.9072 GB, free: 7.762 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.5751, allocations: 0 / 0.9072 GB, free: 7.762 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.5751, allocations: 3.953 kB / 0.9072 GB, free: 7.758 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.5751, allocations: 0 / 0.9072 GB, free: 7.758 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.173e-05/0.5752, allocations: 19.98 kB / 0.9072 GB, free: 7.738 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004649/0.5757, allocations: 268.8 kB / 0.9074 GB, free: 7.426 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.5758, allocations: 41.58 kB / 0.9075 GB, free: 7.379 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.234e-05/0.5759, allocations: 24.97 kB / 0.9075 GB, free: 7.352 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.5759, allocations: 3.938 kB / 0.9075 GB, free: 7.348 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002082/0.5761, allocations: 109 kB / 0.9076 GB, free: 7.223 MB / 458.7 MB Notification: Performance of pre-optimization done (n=9): time 2.134e-06/0.5762, allocations: 0 / 0.9076 GB, free: 7.223 MB / 458.7 MB Notification: Performance of matching and sorting (n=9): time 0.000378/0.5765, allocations: 135.3 kB / 0.9077 GB, free: 7.078 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.553e-05/0.5766, allocations: 93.09 kB / 0.9078 GB, free: 6.969 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.5767, allocations: 106.2 kB / 0.9079 GB, free: 6.855 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.5768, allocations: 25.7 kB / 0.908 GB, free: 6.824 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.371e-05/0.5768, allocations: 92.05 kB / 0.908 GB, free: 6.73 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.5769, allocations: 19.75 kB / 0.9081 GB, free: 6.711 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.5769, allocations: 0 / 0.9081 GB, free: 6.711 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.5771, allocations: 318.8 kB / 0.9084 GB, free: 6.391 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.132e-05/0.5771, allocations: 12 kB / 0.9084 GB, free: 6.379 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.332e-05/0.5772, allocations: 42.84 kB / 0.9084 GB, free: 6.328 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.223e-05/0.5773, allocations: 57.69 kB / 0.9085 GB, free: 6.266 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.5774, allocations: 0 / 0.9085 GB, free: 6.266 MB / 458.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002616/0.5776, allocations: 123.4 kB / 0.9086 GB, free: 6.133 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.782e-05/0.5777, allocations: 37.64 kB / 0.9086 GB, free: 6.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.5777, allocations: 0 / 0.9086 GB, free: 6.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.5777, allocations: 4 kB / 0.9086 GB, free: 6.086 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.784e-05/0.5778, allocations: 0 / 0.9086 GB, free: 6.086 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.5778, allocations: 8.062 kB / 0.9086 GB, free: 6.078 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.5779, allocations: 15.89 kB / 0.9087 GB, free: 6.062 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.578, allocations: 4 kB / 0.9087 GB, free: 6.059 MB / 458.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.0001502/0.5781, allocations: 143.5 kB / 0.9088 GB, free: 5.902 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.5782, allocations: 11.94 kB / 0.9088 GB, free: 5.891 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.393e-05/0.5782, allocations: 8.375 kB / 0.9088 GB, free: 5.887 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.5782, allocations: 0 / 0.9088 GB, free: 5.887 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.5782, allocations: 8 kB / 0.9088 GB, free: 5.879 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5783, allocations: 3.938 kB / 0.9088 GB, free: 5.875 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005887/0.5789, allocations: 392.2 kB / 0.9092 GB, free: 5.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.5789, allocations: 11.88 kB / 0.9092 GB, free: 5.418 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.473e-05/0.5789, allocations: 4.062 kB / 0.9092 GB, free: 5.414 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.5789, allocations: 0 / 0.9092 GB, free: 5.414 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.5789, allocations: 3.984 kB / 0.9092 GB, free: 5.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.579, allocations: 4 kB / 0.9092 GB, free: 5.406 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.579, allocations: 0 / 0.9092 GB, free: 5.406 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003195/0.5793, allocations: 233.1 kB / 0.9094 GB, free: 5.156 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-05/0.5794, allocations: 92.95 kB / 0.9095 GB, free: 5.047 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.5794, allocations: 0 / 0.9095 GB, free: 5.047 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.5796, allocations: 11.98 kB / 0.9095 GB, free: 5.035 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.974e-05/0.5797, allocations: 7.984 kB / 0.9096 GB, free: 5.027 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.5797, allocations: 8 kB / 0.9096 GB, free: 5.02 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.613e-05/0.5798, allocations: 83.28 kB / 0.9096 GB, free: 4.938 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5798, allocations: 4 kB / 0.9096 GB, free: 4.934 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002978/0.5801, allocations: 16 kB / 0.9097 GB, free: 4.918 MB / 458.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.0001232/0.5802, allocations: 102 kB / 0.9098 GB, free: 4.809 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002523/0.5805, allocations: 119.3 kB / 0.9099 GB, free: 4.68 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5805, allocations: 0 / 0.9099 GB, free: 4.68 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.5806, allocations: 91.39 kB / 0.91 GB, free: 4.578 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.5811, allocations: 16.11 kB / 0.91 GB, free: 4.562 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004448/0.5815, allocations: 156.6 kB / 0.9101 GB, free: 4.383 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.5818, allocations: 0.6887 MB / 0.9108 GB, free: 3.668 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.126e-05/0.5819, allocations: 7.984 kB / 0.9108 GB, free: 3.66 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.295e-05/0.5819, allocations: 7.438 kB / 0.9108 GB, free: 3.652 MB / 458.7 MB Notification: Performance of SimCode: time 1.012e-06/0.582, allocations: 8 kB / 0.9108 GB, free: 3.645 MB / 458.7 MB Notification: Performance of Templates: time 0.003913/0.5859, allocations: 0.7295 MB / 0.9115 GB, free: 2.922 MB / 458.7 MB