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: "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009682/0.0009684, allocations: 172.5 kB / 7.647 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.7474/0.7474, allocations: 133.6 MB / 141.6 MB, free: 2.898 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.436/1.436, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0008738/0.000874, allocations: 104.5 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.965e-05/1.969e-05, allocations: 0 / 0.5535 GB, free: 8.977 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4839/0.4839, allocations: 82.3 MB / 0.6339 GB, free: 40.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1573/0.6413, allocations: 111.1 MB / 0.7424 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/0.6417, allocations: 79.88 kB / 0.7425 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003803/0.6455, allocations: 1.228 MB / 0.7437 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6455, allocations: 0 / 0.7437 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.6455, allocations: 4 kB / 0.7437 GB, free: 10.24 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.000557/0.6461, allocations: 380.1 kB / 0.7441 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.6461, allocations: 8.031 kB / 0.7441 GB, free: 9.809 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.02e-05/0.6462, allocations: 4 kB / 0.7441 GB, free: 9.805 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.6464, allocations: 170.9 kB / 0.7443 GB, free: 9.598 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.6464, allocations: 0 / 0.7443 GB, free: 9.598 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.6465, allocations: 8 kB / 0.7443 GB, free: 9.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.354e-05/0.6465, allocations: 12 kB / 0.7443 GB, free: 9.578 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.6467, allocations: 49.67 kB / 0.7443 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.6467, allocations: 7.938 kB / 0.7443 GB, free: 9.516 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.6467, allocations: 0 / 0.7443 GB, free: 9.516 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.6467, allocations: 0 / 0.7443 GB, free: 9.516 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004337/0.6471, allocations: 249.4 kB / 0.7446 GB, free: 9.234 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.533e-05/0.6473, allocations: 38.58 kB / 0.7446 GB, free: 9.188 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.499e-05/0.6473, allocations: 20.98 kB / 0.7446 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.6473, allocations: 0 / 0.7446 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.6475, allocations: 97.03 kB / 0.7447 GB, free: 9.051 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.6475, allocations: 0 / 0.7447 GB, free: 9.051 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0002341/0.6477, allocations: 85.59 kB / 0.7448 GB, free: 8.961 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/0.6478, allocations: 89.09 kB / 0.7449 GB, free: 8.855 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.96e-05/0.6479, allocations: 105.1 kB / 0.745 GB, free: 8.746 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.6479, allocations: 25.7 kB / 0.745 GB, free: 8.715 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.589e-05/0.648, allocations: 88.08 kB / 0.7451 GB, free: 8.625 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.648, allocations: 19.86 kB / 0.7451 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/0.648, allocations: 0 / 0.7451 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.6482, allocations: 322.8 kB / 0.7454 GB, free: 8.281 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.032e-05/0.6482, allocations: 15.94 kB / 0.7454 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.641e-05/0.6483, allocations: 38.56 kB / 0.7455 GB, free: 8.219 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.502e-05/0.6483, allocations: 12 kB / 0.7455 GB, free: 8.207 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.6483, allocations: 0 / 0.7455 GB, free: 8.207 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001323/0.6485, allocations: 89.62 kB / 0.7456 GB, free: 8.113 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/0.6485, allocations: 37.62 kB / 0.7456 GB, free: 8.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.6485, allocations: 4 kB / 0.7456 GB, free: 8.066 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.6485, allocations: 0 / 0.7456 GB, free: 8.066 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.58e-05/0.6486, allocations: 4 kB / 0.7456 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.6486, allocations: 4.062 kB / 0.7456 GB, free: 8.059 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.264e-05/0.6487, allocations: 7.938 kB / 0.7456 GB, free: 8.051 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.6487, allocations: 11.98 kB / 0.7456 GB, free: 8.039 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 0.0001175/0.6488, allocations: 143.5 kB / 0.7458 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001369/0.6489, allocations: 93.59 kB / 0.7459 GB, free: 7.789 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.649, allocations: 7.984 kB / 0.7459 GB, free: 7.781 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.796e-05/0.649, allocations: 4.625 kB / 0.7459 GB, free: 7.773 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.649, allocations: 4 kB / 0.7459 GB, free: 7.77 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.649, allocations: 4 kB / 0.7459 GB, free: 7.766 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.649, allocations: 0 / 0.7459 GB, free: 7.766 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00035/0.6494, allocations: 342.9 kB / 0.7462 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.6494, allocations: 0 / 0.7462 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.885e-06/0.6494, allocations: 0 / 0.7462 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.6494, allocations: 0 / 0.7462 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.6494, allocations: 8 kB / 0.7462 GB, free: 7.379 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.6495, allocations: 0 / 0.7462 GB, free: 7.379 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.6495, allocations: 3.938 kB / 0.7462 GB, free: 7.375 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.6497, allocations: 199.5 kB / 0.7464 GB, free: 7.164 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.98e-05/0.6497, allocations: 81.02 kB / 0.7465 GB, free: 7.066 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.6498, allocations: 4 kB / 0.7465 GB, free: 7.062 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.6499, allocations: 11.92 kB / 0.7465 GB, free: 7.051 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.6499, allocations: 11.92 kB / 0.7465 GB, free: 7.039 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.65, allocations: 4 kB / 0.7465 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.036e-05/0.65, allocations: 95.23 kB / 0.7466 GB, free: 6.941 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/0.65, allocations: 0 / 0.7466 GB, free: 6.941 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000251/0.6503, allocations: 12 kB / 0.7466 GB, free: 6.93 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 0.0005084/0.6508, allocations: 0.7242 MB / 0.7473 GB, free: 6.18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001851/0.651, allocations: 107.3 kB / 0.7474 GB, free: 6.062 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.651, allocations: 4.125 kB / 0.7474 GB, free: 6.059 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.319e-05/0.6511, allocations: 87.34 kB / 0.7475 GB, free: 5.961 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.6513, allocations: 15.98 kB / 0.7475 GB, free: 5.945 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003999/0.6517, allocations: 129.4 kB / 0.7477 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.652, allocations: 0.6846 MB / 0.7483 GB, free: 5.07 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.004e-05/0.6521, allocations: 7.984 kB / 0.7483 GB, free: 5.062 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.951e-05/0.6521, allocations: 19.44 kB / 0.7484 GB, free: 5.047 MB / 0.5261 GB Notification: Performance of SimCode: time 2.61e-07/0.6521, allocations: 0 / 0.7484 GB, free: 5.047 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01929/0.6714, allocations: 1.275 MB / 0.7496 GB, free: 3.789 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/0.6717, allocations: 131.9 kB / 0.7497 GB, free: 3.594 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.52/2.192, allocations: 4 kB / 0.7497 GB, free: 3.59 MB / 0.5261 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Discrete_Examples_BooleanDelay.fmu > IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)