Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay") translateModel(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7661/0.7661, allocations: 133.6 MB / 141.6 MB, free: 2.945 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 221.5 MB / 395.5 MB, free: 10.84 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009014/0.0009014, allocations: 95.8 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.428e-05/1.429e-05, allocations: 3.984 kB / 0.5534 GB, free: 9.086 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4616/0.4616, allocations: 82.3 MB / 0.6338 GB, free: 40.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1501/0.6118, allocations: 111.1 MB / 0.7424 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001793/0.612, allocations: 71.95 kB / 0.7424 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003278/0.6153, allocations: 1.223 MB / 0.7436 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.82e-07/0.6153, allocations: 0 / 0.7436 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.6153, allocations: 4 kB / 0.7436 GB, free: 10.36 MB / 0.5261 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.0004476/0.6158, allocations: 368.2 kB / 0.744 GB, free: 9.953 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.6158, allocations: 12.03 kB / 0.744 GB, free: 9.941 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.6159, allocations: 0 / 0.744 GB, free: 9.941 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.616, allocations: 186.8 kB / 0.7442 GB, free: 9.719 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.616, allocations: 0 / 0.7442 GB, free: 9.719 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.6161, allocations: 8 kB / 0.7442 GB, free: 9.711 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.34e-05/0.6161, allocations: 12 kB / 0.7442 GB, free: 9.699 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.637e-05/0.6162, allocations: 45.69 kB / 0.7442 GB, free: 9.648 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.6162, allocations: 0 / 0.7442 GB, free: 9.648 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.6163, allocations: 3.938 kB / 0.7442 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.6163, allocations: 0 / 0.7442 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003638/0.6166, allocations: 249.4 kB / 0.7445 GB, free: 9.363 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.513e-05/0.6167, allocations: 46.56 kB / 0.7445 GB, free: 9.309 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.323e-05/0.6168, allocations: 20.98 kB / 0.7445 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.6168, allocations: 0 / 0.7445 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/0.6169, allocations: 97.09 kB / 0.7446 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.617, allocations: 0 / 0.7446 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0002066/0.6172, allocations: 97.58 kB / 0.7447 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.6172, allocations: 77.11 kB / 0.7448 GB, free: 8.977 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.745e-05/0.6173, allocations: 105 kB / 0.7449 GB, free: 8.867 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.6173, allocations: 37.64 kB / 0.7449 GB, free: 8.824 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.211e-05/0.6174, allocations: 80.14 kB / 0.745 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.6174, allocations: 15.81 kB / 0.745 GB, free: 8.727 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/0.6174, allocations: 0 / 0.745 GB, free: 8.727 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.6176, allocations: 322.8 kB / 0.7453 GB, free: 8.402 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.506e-05/0.6176, allocations: 12 kB / 0.7453 GB, free: 8.391 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.411e-05/0.6176, allocations: 38.58 kB / 0.7454 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.34e-05/0.6177, allocations: 19.92 kB / 0.7454 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.6177, allocations: 0 / 0.7454 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001273/0.6178, allocations: 81.59 kB / 0.7455 GB, free: 8.238 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.136e-05/0.6179, allocations: 33.7 kB / 0.7455 GB, free: 8.199 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.6179, allocations: 0 / 0.7455 GB, free: 8.199 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.6179, allocations: 0 / 0.7455 GB, free: 8.199 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.113e-05/0.618, allocations: 11.92 kB / 0.7455 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.618, allocations: 4.062 kB / 0.7455 GB, free: 8.184 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/0.618, allocations: 11.94 kB / 0.7455 GB, free: 8.172 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.6181, allocations: 4 kB / 0.7455 GB, free: 8.168 MB / 0.5261 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 () * 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.709e-05/0.6182, allocations: 143.2 kB / 0.7457 GB, free: 8.016 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.6182, allocations: 7.906 kB / 0.7457 GB, free: 8.008 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.646e-05/0.6182, allocations: 8.625 kB / 0.7457 GB, free: 7.996 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.6182, allocations: 0 / 0.7457 GB, free: 7.996 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.6182, allocations: 0 / 0.7457 GB, free: 7.996 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.6182, allocations: 4.094 kB / 0.7457 GB, free: 7.992 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000332/0.6186, allocations: 343 kB / 0.746 GB, free: 7.613 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.6186, allocations: 0 / 0.746 GB, free: 7.613 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.096e-05/0.6186, allocations: 8 kB / 0.746 GB, free: 7.605 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.6186, allocations: 0 / 0.746 GB, free: 7.605 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.6186, allocations: 0 / 0.746 GB, free: 7.605 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.6186, allocations: 3.938 kB / 0.746 GB, free: 7.602 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6187, allocations: 480 / 0.746 GB, free: 7.602 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.6188, allocations: 199.5 kB / 0.7462 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.61e-05/0.6189, allocations: 81.02 kB / 0.7463 GB, free: 7.293 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.6189, allocations: 4 kB / 0.7463 GB, free: 7.289 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.6191, allocations: 15.92 kB / 0.7463 GB, free: 7.273 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/0.6191, allocations: 7.984 kB / 0.7463 GB, free: 7.266 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.6191, allocations: 4 kB / 0.7463 GB, free: 7.262 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.867e-05/0.6192, allocations: 87.34 kB / 0.7464 GB, free: 7.176 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6192, allocations: 4 kB / 0.7464 GB, free: 7.172 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002198/0.6194, allocations: 12 kB / 0.7464 GB, free: 7.16 MB / 0.5261 GB 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) * 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.901e-05/0.6195, allocations: 109 kB / 0.7465 GB, free: 7.047 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001591/0.6197, allocations: 103.4 kB / 0.7466 GB, free: 6.934 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6197, allocations: 0 / 0.7466 GB, free: 6.934 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.713e-05/0.6198, allocations: 87.34 kB / 0.7467 GB, free: 6.836 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.62, allocations: 12.06 kB / 0.7467 GB, free: 6.824 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002441/0.6202, allocations: 99.86 kB / 0.7468 GB, free: 6.703 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.6205, allocations: 0.6885 MB / 0.7475 GB, free: 5.988 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.845e-05/0.6206, allocations: 7.984 kB / 0.7475 GB, free: 5.98 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.59e-05/0.6206, allocations: 11.44 kB / 0.7475 GB, free: 5.973 MB / 0.5261 GB Notification: Performance of SimCode: time 2.7e-07/0.6206, allocations: 3.938 kB / 0.7475 GB, free: 5.969 MB / 0.5261 GB Notification: Performance of Templates: time 0.0028/0.6234, allocations: 0.7115 MB / 0.7482 GB, free: 5.27 MB / 0.5261 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.sim & ./IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)