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.002591/0.002597, allocations: 356.6 kB / 16.59 MB, free: 5.57 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.283/1.283, allocations: 165.8 MB / 183.1 MB, free: 5.918 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.601/4.601, allocations: 410.7 MB / 0.6001 GB, free: 2.191 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.003092/0.003092, allocations: 177 kB / 0.6668 GB, free: 14.06 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004819/0.0004825, allocations: 8 kB / 0.7429 GB, free: 68 kB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5837/0.5842, allocations: 67.44 MB / 0.8087 GB, free: 245.3 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002758/0.587, allocations: 1.127 MB / 0.8098 GB, free: 244.8 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001429/0.5885, allocations: 444.6 kB / 0.8102 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.703e-05/0.5886, allocations: 3.062 kB / 0.8102 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.799e-05/0.5887, allocations: 5.484 kB / 0.8103 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.5888, allocations: 7.375 kB / 0.8103 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002147/0.5891, allocations: 16.03 kB / 0.8103 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.5892, allocations: 43.52 kB / 0.8103 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.5893, allocations: 6.469 kB / 0.8103 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.983e-05/0.5895, allocations: 18.78 kB / 0.8103 GB, free: 244.5 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.911e-05/0.5896, allocations: 19.44 kB / 0.8104 GB, free: 244.5 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.5896, allocations: 2.094 kB / 0.8104 GB, free: 244.5 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.97e-05/0.5896, allocations: 2.594 kB / 0.8104 GB, free: 244.5 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.214e-05/0.5897, allocations: 8.031 kB / 0.8104 GB, free: 244.5 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.502e-05/0.5898, allocations: 33.38 kB / 0.8104 GB, free: 244.5 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.5899, allocations: 28.59 kB / 0.8104 GB, free: 244.5 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.5899, allocations: 0 / 0.8104 GB, free: 244.5 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.164e-06/0.59, allocations: 1.594 kB / 0.8104 GB, free: 244.5 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.59, allocations: 0 / 0.8104 GB, free: 244.5 MB / 0.5886 GB 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.0008622/0.5909, allocations: 396.1 kB / 0.8108 GB, free: 244.1 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.103e-05/0.591, allocations: 8.938 kB / 0.8108 GB, free: 244.1 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.968e-05/0.591, allocations: 10.69 kB / 0.8108 GB, free: 244.1 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.5912, allocations: 172.9 kB / 0.811 GB, free: 243.9 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.5913, allocations: 2.859 kB / 0.811 GB, free: 243.9 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.5913, allocations: 2.5 kB / 0.811 GB, free: 243.9 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.5915, allocations: 56.11 kB / 0.8111 GB, free: 243.9 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.5916, allocations: 0.6562 kB / 0.8111 GB, free: 243.9 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.5916, allocations: 2.25 kB / 0.8111 GB, free: 243.9 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.5916, allocations: 0 / 0.8111 GB, free: 243.9 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.5918, allocations: 16.97 kB / 0.8111 GB, free: 243.9 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006338/0.5924, allocations: 275.3 kB / 0.8113 GB, free: 243.6 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.5926, allocations: 44.94 kB / 0.8114 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.5928, allocations: 19.77 kB / 0.8114 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.5928, allocations: 1.969 kB / 0.8114 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002873/0.5931, allocations: 109.4 kB / 0.8115 GB, free: 243.4 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 3.597e-06/0.5932, allocations: 0 / 0.8115 GB, free: 243.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0005249/0.5937, allocations: 138.6 kB / 0.8116 GB, free: 243.3 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.5938, allocations: 80.5 kB / 0.8117 GB, free: 243.2 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.5939, allocations: 123.9 kB / 0.8118 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.594, allocations: 29.73 kB / 0.8119 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.979e-05/0.594, allocations: 83.48 kB / 0.8119 GB, free: 243 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.5941, allocations: 17.39 kB / 0.812 GB, free: 243 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.113e-05/0.5941, allocations: 1.656 kB / 0.812 GB, free: 243 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.867e-05/0.5942, allocations: 318.6 kB / 0.8123 GB, free: 242.7 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.443e-05/0.5943, allocations: 12.73 kB / 0.8123 GB, free: 242.7 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.5944, allocations: 38.83 kB / 0.8123 GB, free: 242.7 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.5945, allocations: 48.81 kB / 0.8124 GB, free: 242.6 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.5946, allocations: 2.219 kB / 0.8124 GB, free: 242.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003551/0.5949, allocations: 129.3 kB / 0.8125 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.514e-05/0.595, allocations: 37.19 kB / 0.8125 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.5951, allocations: 1.344 kB / 0.8125 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.5951, allocations: 1.938 kB / 0.8125 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.794e-05/0.5952, allocations: 9.109 kB / 0.8125 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.5952, allocations: 2.719 kB / 0.8125 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.5954, allocations: 9.734 kB / 0.8125 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.5955, allocations: 9.594 kB / 0.8125 GB, free: 242.5 MB / 0.5886 GB 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.0001651/0.5956, allocations: 148.7 kB / 0.8127 GB, free: 242.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.5957, allocations: 8.578 kB / 0.8127 GB, free: 242.3 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.447e-05/0.5958, allocations: 11.12 kB / 0.8127 GB, free: 242.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.5958, allocations: 2.625 kB / 0.8127 GB, free: 242.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5958, allocations: 1.406 kB / 0.8127 GB, free: 242.3 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.918e-05/0.5959, allocations: 87.3 kB / 0.8128 GB, free: 242.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/0.5959, allocations: 7.969 kB / 0.8128 GB, free: 242.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.5961, allocations: 15.95 kB / 0.8128 GB, free: 242.2 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.736e-05/0.5962, allocations: 6.766 kB / 0.8128 GB, free: 242.2 MB / 0.5886 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005597/0.5968, allocations: 271.7 kB / 0.8131 GB, free: 242 MB / 0.5886 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004307/0.5973, allocations: 310.8 kB / 0.8134 GB, free: 241.7 MB / 0.5886 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001306/0.5974, allocations: 32.05 kB / 0.8134 GB, free: 241.7 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.34e-05/0.5975, allocations: 87.61 kB / 0.8135 GB, free: 241.6 MB / 0.5886 GB Notification: Performance of Backend: time 1.092e-06/0.5975, allocations: 1.094 kB / 0.8135 GB, free: 241.6 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0007226/0.5983, allocations: 178.9 kB / 0.8137 GB, free: 241.5 MB / 0.5886 GB Notification: Performance of SimCode: time 0.0007225/0.599, allocations: 0.6406 MB / 0.8143 GB, free: 240.8 MB / 0.5886 GB Notification: Performance of Templates: time 0.006214/0.6052, allocations: 0.7963 MB / 0.8151 GB, free: 240.8 MB / 0.5886 GB