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.001102/0.001102, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7212/0.7212, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.589/1.589, allocations: 221.3 MB / 400.4 MB, free: 5.859 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008725/0.0008726, allocations: 102.2 kB / 483.3 MB, free: 5.883 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.495e-05/4.499e-05, allocations: 2 kB / 0.56 GB, free: 87.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1594, allocations: 82.3 MB / 0.6404 GB, free: 7.871 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6097/0.7692, allocations: 111.8 MB / 0.7496 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002088/0.7694, allocations: 72.19 kB / 0.7497 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003478/0.7729, allocations: 1.231 MB / 0.7509 GB, free: 27.43 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7729, allocations: 0 / 0.7509 GB, free: 27.43 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.7729, allocations: 3.75 kB / 0.7509 GB, free: 27.43 MB / 0.5105 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.0004036/0.7734, allocations: 376.9 kB / 0.7512 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.7734, allocations: 11.69 kB / 0.7512 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.7734, allocations: 0 / 0.7512 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.7736, allocations: 176.8 kB / 0.7514 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.7736, allocations: 3.906 kB / 0.7514 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.7736, allocations: 0 / 0.7514 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.7737, allocations: 52.69 kB / 0.7515 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.7737, allocations: 0 / 0.7515 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.7738, allocations: 0 / 0.7515 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.7738, allocations: 3.938 kB / 0.7515 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.596e-05/0.7738, allocations: 21.47 kB / 0.7515 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.7742, allocations: 271.9 kB / 0.7517 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.741e-05/0.7743, allocations: 36.55 kB / 0.7518 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.997e-05/0.7743, allocations: 18.95 kB / 0.7518 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.7743, allocations: 3.781 kB / 0.7518 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001378/0.7745, allocations: 114.7 kB / 0.7519 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.7745, allocations: 0 / 0.7519 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0002062/0.7747, allocations: 125 kB / 0.752 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.7748, allocations: 80.98 kB / 0.7521 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.292e-05/0.7749, allocations: 102.6 kB / 0.7522 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.7749, allocations: 29.64 kB / 0.7522 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.494e-05/0.7749, allocations: 91.12 kB / 0.7523 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.775, allocations: 21.16 kB / 0.7523 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.775, allocations: 0 / 0.7523 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.7751, allocations: 317.3 kB / 0.7526 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.079e-05/0.7751, allocations: 17.47 kB / 0.7527 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.494e-05/0.7752, allocations: 36.95 kB / 0.7527 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.608e-05/0.7752, allocations: 43.94 kB / 0.7527 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.7752, allocations: 0 / 0.7527 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000132/0.7754, allocations: 121.9 kB / 0.7528 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/0.7754, allocations: 36.55 kB / 0.7529 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.7754, allocations: 0 / 0.7529 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.7754, allocations: 4.062 kB / 0.7529 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.138e-05/0.7755, allocations: 10.53 kB / 0.7529 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.7755, allocations: 400 / 0.7529 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.057e-05/0.7756, allocations: 14.02 kB / 0.7529 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.7756, allocations: 7.922 kB / 0.7529 GB, free: 25.55 MB / 0.5105 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.802e-05/0.7757, allocations: 140.8 kB / 0.7531 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.7757, allocations: 10.14 kB / 0.7531 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.049e-05/0.7757, allocations: 11.38 kB / 0.7531 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.7758, allocations: 4 kB / 0.7531 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.7758, allocations: 0 / 0.7531 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.7758, allocations: 0 / 0.7531 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000335/0.7761, allocations: 403.2 kB / 0.7535 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.7761, allocations: 0 / 0.7535 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.634e-06/0.7761, allocations: 2.906 kB / 0.7535 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.7761, allocations: 3.812 kB / 0.7535 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.7762, allocations: 0 / 0.7535 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.7762, allocations: 0 / 0.7535 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.7762, allocations: 7.938 kB / 0.7535 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.7764, allocations: 226.6 kB / 0.7537 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/0.7764, allocations: 81.02 kB / 0.7538 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.7764, allocations: 6.641 kB / 0.7538 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.753e-05/0.7765, allocations: 14.5 kB / 0.7538 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.7766, allocations: 9.703 kB / 0.7538 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.7766, allocations: 7.844 kB / 0.7538 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.652e-05/0.7767, allocations: 94.36 kB / 0.7539 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7767, allocations: 3.938 kB / 0.7539 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002032/0.7769, allocations: 11.53 kB / 0.7539 GB, free: 24.69 MB / 0.5105 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.791e-05/0.777, allocations: 101.5 kB / 0.754 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001571/0.7772, allocations: 117.3 kB / 0.7541 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.7772, allocations: 0 / 0.7541 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.362e-05/0.7773, allocations: 92.17 kB / 0.7542 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.7775, allocations: 12.02 kB / 0.7542 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002195/0.7777, allocations: 96.14 kB / 0.7543 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.778, allocations: 0.6859 MB / 0.755 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.699e-05/0.778, allocations: 6.469 kB / 0.755 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.17e-05/0.778, allocations: 11.28 kB / 0.755 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of SimCode: time 2.91e-07/0.778, allocations: 0 / 0.755 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.002432/0.7805, allocations: 0.7451 MB / 0.7557 GB, free: 23.62 MB / 0.5105 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)