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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.389/1.389, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9693/0.9693, allocations: 135.1 MB / 425.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 64.5 kB / 0.5054 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1441, allocations: 80.93 MB / 0.5845 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002416/0.1466, allocations: 1.409 MB / 0.5858 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006458/0.1472, allocations: 432.6 kB / 0.5863 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.694e-05/0.1473, allocations: 0 / 0.5863 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.678e-05/0.1473, allocations: 11.92 kB / 0.5863 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.933e-05/0.1474, allocations: 7.922 kB / 0.5863 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001302/0.1475, allocations: 15.92 kB / 0.5863 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.1476, allocations: 59.78 kB / 0.5863 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.792e-05/0.1477, allocations: 7.984 kB / 0.5864 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.642e-05/0.1478, allocations: 31.84 kB / 0.5864 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.776e-05/0.1478, allocations: 15.92 kB / 0.5864 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.1479, allocations: 4 kB / 0.5864 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.162e-05/0.1479, allocations: 4 kB / 0.5864 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.219e-05/0.1479, allocations: 8 kB / 0.5864 GB, free: 2.453 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.153e-05/0.148, allocations: 23.86 kB / 0.5864 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.002e-05/0.1481, allocations: 44.16 kB / 0.5865 GB, free: 2.387 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1481, allocations: 0 / 0.5865 GB, free: 2.387 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1481, allocations: 0 / 0.5865 GB, free: 2.387 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.1481, allocations: 0 / 0.5865 GB, free: 2.387 MB / 494.1 MB 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.0005308/0.1486, allocations: 393 kB / 0.5869 GB, free: 1.949 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.1487, allocations: 12.03 kB / 0.5869 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.991e-05/0.1487, allocations: 38.75 kB / 0.5869 GB, free: 1.891 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.578e-05/0.1487, allocations: 4.938 kB / 0.5869 GB, free: 1.887 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.1488, allocations: 176.2 kB / 0.5871 GB, free: 1.676 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.1489, allocations: 4.312 kB / 0.5871 GB, free: 1.672 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.1489, allocations: 4.375 kB / 0.5871 GB, free: 1.668 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.149, allocations: 57.8 kB / 0.5871 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.149, allocations: 0 / 0.5871 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.149, allocations: 0 / 0.5871 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.149, allocations: 11.92 kB / 0.5872 GB, free: 1.594 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.869e-05/0.1491, allocations: 16 kB / 0.5872 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.1494, allocations: 268.8 kB / 0.5874 GB, free: 1.266 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.341e-05/0.1495, allocations: 46.5 kB / 0.5875 GB, free: 1.211 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.236e-05/0.1496, allocations: 16.98 kB / 0.5875 GB, free: 1.191 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.1496, allocations: 3.984 kB / 0.5875 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/0.1498, allocations: 109.1 kB / 0.5876 GB, free: 1.062 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.1498, allocations: 0 / 0.5876 GB, free: 1.062 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002546/0.1501, allocations: 143.2 kB / 0.5877 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.1501, allocations: 77.11 kB / 0.5878 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.248e-05/0.1502, allocations: 113.8 kB / 0.5879 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.1502, allocations: 25.7 kB / 0.5879 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/0.1503, allocations: 92.12 kB / 0.588 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.1503, allocations: 11.72 kB / 0.588 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.1503, allocations: 33.72 kB / 0.5881 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.843e-05/0.1504, allocations: 318.8 kB / 0.5884 GB, free: 204 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.307e-05/0.1505, allocations: 16 kB / 0.5884 GB, free: 188 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.259e-05/0.1505, allocations: 38.5 kB / 0.5884 GB, free: 140 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.693e-05/0.1506, allocations: 118 kB / 0.5885 GB, free: 0 / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1506, allocations: 4.047 kB / 0.5885 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001472/0.1508, allocations: 115.3 kB / 0.5886 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.1508, allocations: 33.7 kB / 0.5887 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1508, allocations: 3.984 kB / 0.5887 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1508, allocations: 4 kB / 0.5887 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.6e-05/0.1509, allocations: 3.938 kB / 0.5887 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1509, allocations: 4 kB / 0.5887 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.569e-05/0.151, allocations: 15.84 kB / 0.5887 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.151, allocations: 4 kB / 0.5887 GB, free: 15.79 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.532e-05/0.1511, allocations: 158.6 kB / 0.5889 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.528e-05/0.1511, allocations: 4 kB / 0.5889 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.1511, allocations: 8.375 kB / 0.5889 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1511, allocations: 0 / 0.5889 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.1512, allocations: 0 / 0.5889 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1512, allocations: 3.938 kB / 0.5889 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003545/0.1515, allocations: 408.4 kB / 0.5893 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1515, allocations: 4 kB / 0.5893 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.167e-05/0.1516, allocations: 12 kB / 0.5893 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1516, allocations: 7.875 kB / 0.5893 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.1516, allocations: 0 / 0.5893 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1516, allocations: 0 / 0.5893 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.1516, allocations: 3.938 kB / 0.5893 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.1518, allocations: 221.2 kB / 0.5895 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.655e-05/0.1518, allocations: 89.02 kB / 0.5896 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.1518, allocations: 3.984 kB / 0.5896 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.152, allocations: 12 kB / 0.5896 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.152, allocations: 15.86 kB / 0.5896 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.152, allocations: 4 kB / 0.5896 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.453e-05/0.1521, allocations: 87.27 kB / 0.5897 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1521, allocations: 0 / 0.5897 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002301/0.1523, allocations: 16 kB / 0.5897 GB, free: 14.64 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.0004177/0.1527, allocations: 0.7648 MB / 0.5905 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001681/0.1529, allocations: 120.2 kB / 0.5906 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1529, allocations: 0 / 0.5906 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.115e-05/0.153, allocations: 87.39 kB / 0.5907 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.1533, allocations: 15.94 kB / 0.5907 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.1545, allocations: 1.437 MB / 0.5921 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.1547, allocations: 0.6884 MB / 0.5928 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.631e-05/0.1547, allocations: 4 kB / 0.5928 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.713e-05/0.1548, allocations: 19.42 kB / 0.5928 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1548, allocations: 4 kB / 0.5928 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7708/0.9256, allocations: 1.832 MB / 0.5946 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.64/10.57, allocations: 13.81 kB / 0.5946 GB, free: 9.555 MB / 0.4981 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/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)