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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001946/0.001946, allocations: 174.6 kB / 7.459 MB, free: 2.324 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5872/0.5872, allocations: 133.5 MB / 141.4 MB, free: 15.77 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.155/1.155, allocations: 221.3 MB / 395 MB, free: 10.28 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.0008591/0.0008591, allocations: 97.58 kB / 477.8 MB, free: 10.9 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.06e-06/5.14e-06, allocations: 0 / 0.5528 GB, free: 88.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.104, allocations: 82.31 MB / 0.6332 GB, free: 14.17 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3149/0.419, allocations: 111.1 MB / 0.7417 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001684/0.4192, allocations: 69.34 kB / 0.7417 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.002689/0.4219, allocations: 0.9143 MB / 0.7426 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.4219, allocations: 3.875 kB / 0.7426 GB, free: 10.75 MB / 0.4948 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.0003789/0.4223, allocations: 381.1 kB / 0.743 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.782e-05/0.4223, allocations: 11.78 kB / 0.743 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.208e-05/0.4224, allocations: 7.781 kB / 0.743 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.4225, allocations: 167.2 kB / 0.7432 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.4225, allocations: 0 / 0.7432 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.4225, allocations: 5 kB / 0.7432 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.693e-05/0.4226, allocations: 15.66 kB / 0.7432 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.934e-05/0.4226, allocations: 54.38 kB / 0.7432 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.4227, allocations: 0 / 0.7432 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.4227, allocations: 3.984 kB / 0.7432 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-06/0.4227, allocations: 1.094 kB / 0.7433 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002676/0.423, allocations: 241.3 kB / 0.7435 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.731e-05/0.423, allocations: 40.25 kB / 0.7435 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.734e-05/0.4231, allocations: 20.09 kB / 0.7435 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.4231, allocations: 7.781 kB / 0.7435 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.749e-05/0.4232, allocations: 91.36 kB / 0.7436 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.4232, allocations: 0 / 0.7436 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0001428/0.4233, allocations: 80.33 kB / 0.7437 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.4234, allocations: 77.86 kB / 0.7438 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.383e-05/0.4234, allocations: 102.2 kB / 0.7439 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.4235, allocations: 34.23 kB / 0.7439 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.678e-05/0.4235, allocations: 84.78 kB / 0.744 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.421e-05/0.4235, allocations: 12.86 kB / 0.744 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.4235, allocations: 3 kB / 0.744 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.496e-05/0.4236, allocations: 317.7 kB / 0.7443 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.185e-05/0.4236, allocations: 15.44 kB / 0.7443 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.869e-05/0.4237, allocations: 34.02 kB / 0.7444 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.759e-05/0.4237, allocations: 21.16 kB / 0.7444 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.4237, allocations: 0 / 0.7444 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.582e-05/0.4238, allocations: 75.39 kB / 0.7445 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.4238, allocations: 13.42 kB / 0.7445 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.4238, allocations: 4.031 kB / 0.7445 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.227e-06/0.4238, allocations: 3.938 kB / 0.7445 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.418e-05/0.4239, allocations: 3.344 kB / 0.7445 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.4239, allocations: 3.375 kB / 0.7445 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.258e-05/0.424, allocations: 14.89 kB / 0.7445 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.424, allocations: 3.906 kB / 0.7445 GB, free: 25.02 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 7.486e-05/0.424, allocations: 135 kB / 0.7446 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.4241, allocations: 9.156 kB / 0.7446 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.141e-05/0.4241, allocations: 8.219 kB / 0.7446 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.4241, allocations: 0 / 0.7446 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.4241, allocations: 0 / 0.7446 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4241, allocations: 5.453 kB / 0.7446 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.4244, allocations: 324.2 kB / 0.745 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4244, allocations: 0 / 0.745 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.733e-06/0.4244, allocations: 0 / 0.745 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4244, allocations: 3.812 kB / 0.745 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.4244, allocations: 5.156 kB / 0.745 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.4244, allocations: 0 / 0.745 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4244, allocations: 3.906 kB / 0.745 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001203/0.4245, allocations: 182.8 kB / 0.7451 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.468e-05/0.4246, allocations: 78.38 kB / 0.7452 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.4246, allocations: 3.844 kB / 0.7452 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.4247, allocations: 18.3 kB / 0.7452 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.4248, allocations: 10.92 kB / 0.7452 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.4248, allocations: 5.547 kB / 0.7453 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.272e-05/0.4248, allocations: 87.45 kB / 0.7453 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002135/0.425, allocations: 11.59 kB / 0.7453 GB, free: 24.28 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 8.224e-05/0.4251, allocations: 109.8 kB / 0.7455 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001037/0.4252, allocations: 70.98 kB / 0.7455 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4252, allocations: 0 / 0.7455 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.365e-05/0.4253, allocations: 65.55 kB / 0.7456 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.4255, allocations: 16.78 kB / 0.7456 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001893/0.4257, allocations: 90.77 kB / 0.7457 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002213/0.4259, allocations: 0.703 MB / 0.7464 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/0.4259, allocations: 0 / 0.7464 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of Templates: time 0.002064/0.428, allocations: 0.7899 MB / 0.7471 GB, free: 23.25 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)