Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="IDEAS_IDEAS_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="IDEAS_IDEAS_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005845/0.005845, allocations: 104.3 kB / 15.74 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 190 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.718/0.718, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 62.55 kB / 0.5808 GB, free: 1.137 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1474, allocations: 80.22 MB / 0.6592 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002433/0.1499, allocations: 1.413 MB / 0.6605 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007444/0.1507, allocations: 438.9 kB / 0.661 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.807e-05/0.1507, allocations: 0 / 0.661 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.179e-05/0.1508, allocations: 11.86 kB / 0.661 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.239e-05/0.1509, allocations: 3.938 kB / 0.661 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.1511, allocations: 19.92 kB / 0.661 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.1512, allocations: 55.84 kB / 0.661 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.291e-05/0.1513, allocations: 15.97 kB / 0.6611 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.41e-05/0.1514, allocations: 23.86 kB / 0.6611 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.25e-05/0.1515, allocations: 23.86 kB / 0.6611 GB, free: 12 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.1515, allocations: 4 kB / 0.6611 GB, free: 12 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.163e-05/0.1515, allocations: 4 kB / 0.6611 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.428e-05/0.1515, allocations: 7.938 kB / 0.6611 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.697e-05/0.1516, allocations: 19.92 kB / 0.6611 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.1517, allocations: 42.69 kB / 0.6612 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.1517, allocations: 7.938 kB / 0.6612 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1517, allocations: 4 kB / 0.6612 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.1517, allocations: 0 / 0.6612 GB, free: 11.91 MB / 0.4981 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.0005517/0.1523, allocations: 385.9 kB / 0.6616 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.1523, allocations: 8.031 kB / 0.6616 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.828e-05/0.1524, allocations: 38.73 kB / 0.6616 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.1524, allocations: 8.844 kB / 0.6616 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.1525, allocations: 164.4 kB / 0.6618 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.1526, allocations: 4.375 kB / 0.6618 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.1526, allocations: 4.375 kB / 0.6618 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.1527, allocations: 61.73 kB / 0.6618 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.1527, allocations: 0 / 0.6618 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.1527, allocations: 0 / 0.6618 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1527, allocations: 0 / 0.6618 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.321e-05/0.1528, allocations: 20 kB / 0.6618 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003796/0.1532, allocations: 276.7 kB / 0.6621 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.793e-05/0.1533, allocations: 42.52 kB / 0.6622 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.596e-05/0.1533, allocations: 24.97 kB / 0.6622 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.1533, allocations: 4 kB / 0.6622 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/0.1535, allocations: 93.09 kB / 0.6623 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.1535, allocations: 0 / 0.6623 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002562/0.1538, allocations: 143.2 kB / 0.6624 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.1538, allocations: 85.09 kB / 0.6625 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.909e-05/0.1539, allocations: 113.8 kB / 0.6626 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.1539, allocations: 25.98 kB / 0.6626 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.833e-05/0.154, allocations: 84.14 kB / 0.6627 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.154, allocations: 23.81 kB / 0.6627 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.1541, allocations: 29.64 kB / 0.6628 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.425e-05/0.1542, allocations: 322.8 kB / 0.6631 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.365e-05/0.1542, allocations: 15.98 kB / 0.6631 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.693e-05/0.1543, allocations: 50.5 kB / 0.6631 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.099e-05/0.1543, allocations: 106.4 kB / 0.6632 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1544, allocations: 0 / 0.6632 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001474/0.1545, allocations: 127.2 kB / 0.6633 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/0.1545, allocations: 37.69 kB / 0.6634 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1546, allocations: 4.062 kB / 0.6634 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.1546, allocations: 0 / 0.6634 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.27e-05/0.1546, allocations: 7.938 kB / 0.6634 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.1546, allocations: 4 kB / 0.6634 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.579e-05/0.1547, allocations: 11.98 kB / 0.6634 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.1547, allocations: 4 kB / 0.6634 GB, free: 9.332 MB / 0.4981 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 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.758e-05/0.1548, allocations: 145 kB / 0.6636 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.1548, allocations: 7.906 kB / 0.6636 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.18e-05/0.1549, allocations: 20.36 kB / 0.6636 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1549, allocations: 0 / 0.6636 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1549, allocations: 0 / 0.6636 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.1549, allocations: 0 / 0.6636 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003564/0.1553, allocations: 400.1 kB / 0.664 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1553, allocations: 0 / 0.664 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.869e-06/0.1553, allocations: 3.984 kB / 0.664 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1553, allocations: 4 kB / 0.664 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.1553, allocations: 0 / 0.664 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1553, allocations: 0 / 0.664 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.1553, allocations: 7.875 kB / 0.664 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.1555, allocations: 233.1 kB / 0.6642 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.797e-05/0.1556, allocations: 85.19 kB / 0.6643 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.1556, allocations: 3.938 kB / 0.6643 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.666e-05/0.1557, allocations: 7.984 kB / 0.6643 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.1557, allocations: 11.94 kB / 0.6643 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.1558, allocations: 4 kB / 0.6643 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.223e-05/0.1558, allocations: 95.27 kB / 0.6644 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.114e-06/0.1558, allocations: 0 / 0.6644 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002362/0.1561, allocations: 15.94 kB / 0.6644 GB, free: 8.188 MB / 0.4981 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004256/0.1565, allocations: 0.757 MB / 0.6652 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001667/0.1567, allocations: 115.4 kB / 0.6653 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.1567, allocations: 12.06 kB / 0.6653 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.54e-05/0.1568, allocations: 91.27 kB / 0.6654 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.1571, allocations: 26.45 kB / 0.6654 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.1583, allocations: 1.414 MB / 0.6668 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.1585, allocations: 0.6885 MB / 0.6674 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.984e-05/0.1585, allocations: 7.781 kB / 0.6674 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.365e-05/0.1586, allocations: 23.42 kB / 0.6675 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1586, allocations: 3.938 kB / 0.6675 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/0.1774, allocations: 1.91 MB / 0.6693 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.18/7.357, allocations: 6.688 kB / 0.6693 GB, free: 3.062 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Discrete_Examples_BooleanDelay.fmu > IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)