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.005087/0.005087, allocations: 104.3 kB / 15.74 MB, free: 5.984 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.001812/0.001812, allocations: 199.1 kB / 16.68 MB, free: 5.91 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7621/0.7621, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 65.03 kB / 0.5808 GB, free: 24.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1434, allocations: 80.2 MB / 0.6591 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002155/0.1456, allocations: 1.424 MB / 0.6605 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006317/0.1462, allocations: 442.9 kB / 0.661 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.719e-05/0.1463, allocations: 0 / 0.661 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.677e-05/0.1463, allocations: 3.938 kB / 0.661 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.403e-05/0.1464, allocations: 23.84 kB / 0.661 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001394/0.1466, allocations: 15.92 kB / 0.661 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.1467, allocations: 51.86 kB / 0.661 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.044e-05/0.1468, allocations: 7.984 kB / 0.6611 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.758e-05/0.1468, allocations: 27.86 kB / 0.6611 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.184e-05/0.1469, allocations: 19.91 kB / 0.6611 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.1469, allocations: 8 kB / 0.6611 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.064e-05/0.1469, allocations: 4 kB / 0.6611 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.294e-05/0.147, allocations: 7.938 kB / 0.6611 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.423e-05/0.147, allocations: 19.92 kB / 0.6611 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.977e-05/0.1471, allocations: 46.62 kB / 0.6612 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1471, allocations: 0 / 0.6612 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1471, allocations: 0 / 0.6612 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.1471, allocations: 0 / 0.6612 GB, free: 8.684 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.0005398/0.1477, allocations: 393.9 kB / 0.6616 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.1477, allocations: 8.031 kB / 0.6616 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.15e-05/0.1478, allocations: 34.75 kB / 0.6616 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.859e-05/0.1478, allocations: 8.781 kB / 0.6616 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.1479, allocations: 176.3 kB / 0.6618 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.1479, allocations: 4.375 kB / 0.6618 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.1479, allocations: 384 / 0.6618 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.1481, allocations: 53.81 kB / 0.6618 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.1481, allocations: 0 / 0.6618 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.1481, allocations: 8 kB / 0.6618 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1481, allocations: 0 / 0.6618 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.919e-05/0.1481, allocations: 15.98 kB / 0.6619 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003491/0.1485, allocations: 272.8 kB / 0.6621 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.018e-05/0.1486, allocations: 42.56 kB / 0.6622 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.527e-05/0.1486, allocations: 16.98 kB / 0.6622 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.1487, allocations: 0 / 0.6622 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.1488, allocations: 113.1 kB / 0.6623 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.1488, allocations: 0 / 0.6623 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002499/0.1491, allocations: 143.5 kB / 0.6624 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.1491, allocations: 81.11 kB / 0.6625 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.872e-05/0.1492, allocations: 109.8 kB / 0.6626 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.1492, allocations: 33.64 kB / 0.6626 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.795e-05/0.1493, allocations: 84.14 kB / 0.6627 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.1493, allocations: 27.73 kB / 0.6627 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.1493, allocations: 25.72 kB / 0.6628 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.674e-05/0.1494, allocations: 318.8 kB / 0.6631 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.119e-05/0.1495, allocations: 16 kB / 0.6631 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.06e-05/0.1495, allocations: 34.56 kB / 0.6631 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.081e-05/0.1496, allocations: 129.8 kB / 0.6632 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1496, allocations: 0 / 0.6632 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001334/0.1498, allocations: 127.6 kB / 0.6634 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.1498, allocations: 29.7 kB / 0.6634 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.1498, allocations: 4 kB / 0.6634 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1498, allocations: 0 / 0.6634 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.896e-05/0.1499, allocations: 7.984 kB / 0.6634 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.1499, allocations: 0 / 0.6634 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.549e-05/0.1499, allocations: 4 kB / 0.6634 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.15, allocations: 16.05 kB / 0.6634 GB, free: 6.094 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 0.0001065/0.1501, allocations: 156.3 kB / 0.6636 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.1501, allocations: 7.906 kB / 0.6636 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.364e-05/0.1501, allocations: 4.375 kB / 0.6636 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.1501, allocations: 0 / 0.6636 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1501, allocations: 0 / 0.6636 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1501, allocations: 4 kB / 0.6636 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003333/0.1505, allocations: 404.1 kB / 0.664 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1505, allocations: 4 kB / 0.664 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.574e-06/0.1505, allocations: 4 kB / 0.664 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.1505, allocations: 0 / 0.664 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.507e-06/0.1505, allocations: 0 / 0.664 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.1505, allocations: 4 kB / 0.664 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1505, allocations: 3.938 kB / 0.664 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.1507, allocations: 233.1 kB / 0.6642 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.1508, allocations: 81.02 kB / 0.6643 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.1508, allocations: 12 kB / 0.6643 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.408e-05/0.1509, allocations: 7.984 kB / 0.6643 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.1509, allocations: 11.92 kB / 0.6643 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.151, allocations: 4 kB / 0.6643 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.804e-05/0.151, allocations: 87.27 kB / 0.6644 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.151, allocations: 0 / 0.6644 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002175/0.1512, allocations: 20 kB / 0.6644 GB, free: 4.945 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.0003986/0.1516, allocations: 0.7571 MB / 0.6652 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001571/0.1518, allocations: 123.2 kB / 0.6653 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1518, allocations: 0 / 0.6653 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.208e-05/0.1519, allocations: 87.39 kB / 0.6654 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.1521, allocations: 16.12 kB / 0.6654 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.1532, allocations: 1.431 MB / 0.6668 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001891/0.1534, allocations: 0.6846 MB / 0.6674 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.407e-05/0.1534, allocations: 7.781 kB / 0.6674 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.705e-05/0.1535, allocations: 15.72 kB / 0.6675 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of SimCode: time 1.8e-07/0.1535, allocations: 0 / 0.6675 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/0.1719, allocations: 1.888 MB / 0.6693 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.894/7.066, allocations: 4 kB / 0.6693 GB, free: 15.85 MB / 0.5137 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)