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.009754/0.009754, allocations: 171.9 kB / 15.12 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8243/0.8243, allocations: 135.2 MB / 151 MB, free: 13.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.66/1.66, allocations: 223.2 MB / 406.8 MB, free: 3.242 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.0009909/0.0009908, allocations: 100.8 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003811/0.0003816, allocations: 15.98 kB / 0.5691 GB, free: 14.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5251/0.5255, allocations: 82.3 MB / 0.6495 GB, free: 36.17 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1773/0.7028, allocations: 111.9 MB / 0.7588 GB, free: 4.148 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003292/0.7032, allocations: 71.97 kB / 0.7588 GB, free: 4.078 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004325/0.7076, allocations: 1.236 MB / 0.76 GB, free: 2.84 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.497e-06/0.7076, allocations: 0 / 0.76 GB, free: 2.84 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.7076, allocations: 0 / 0.76 GB, free: 2.84 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.0006584/0.7083, allocations: 393 kB / 0.7604 GB, free: 2.402 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.618e-05/0.7084, allocations: 8.031 kB / 0.7604 GB, free: 2.395 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.55e-05/0.7084, allocations: 38.56 kB / 0.7605 GB, free: 2.348 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.511e-05/0.7085, allocations: 7.891 kB / 0.7605 GB, free: 2.34 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.7087, allocations: 174.9 kB / 0.7606 GB, free: 2.129 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.7087, allocations: 4 kB / 0.7606 GB, free: 2.125 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.7087, allocations: 4 kB / 0.7606 GB, free: 2.121 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.7089, allocations: 57.64 kB / 0.7607 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.7089, allocations: 0 / 0.7607 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.709, allocations: 0 / 0.7607 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.709, allocations: 8 kB / 0.7607 GB, free: 2.051 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.298e-05/0.709, allocations: 16 kB / 0.7607 GB, free: 2.035 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005346/0.7096, allocations: 276.7 kB / 0.761 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.394e-05/0.7097, allocations: 38.58 kB / 0.761 GB, free: 1.668 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.7097, allocations: 0 / 0.761 GB, free: 1.668 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/0.7099, allocations: 105.1 kB / 0.7611 GB, free: 1.547 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 2.525e-06/0.71, allocations: 0 / 0.7611 GB, free: 1.547 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.000393/0.7103, allocations: 220.4 kB / 0.7613 GB, free: 1.301 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.129e-05/0.7104, allocations: 81.17 kB / 0.7614 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.7106, allocations: 104.9 kB / 0.7615 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.7106, allocations: 33.7 kB / 0.7615 GB, free: 1.055 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.03e-05/0.7107, allocations: 84.09 kB / 0.7616 GB, free: 0.9688 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.7107, allocations: 23.73 kB / 0.7616 GB, free: 0.9453 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.7107, allocations: 288 / 0.7616 GB, free: 0.9453 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.7109, allocations: 322.8 kB / 0.762 GB, free: 0.6211 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.946e-05/0.7109, allocations: 15.98 kB / 0.762 GB, free: 0.6055 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.74e-05/0.711, allocations: 38.5 kB / 0.762 GB, free: 0.5586 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.342e-05/0.711, allocations: 46.09 kB / 0.762 GB, free: 0.5078 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.7111, allocations: 0 / 0.762 GB, free: 0.5078 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001983/0.7113, allocations: 135.2 kB / 0.7622 GB, free: 372 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.665e-05/0.7113, allocations: 33.7 kB / 0.7622 GB, free: 332 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.7113, allocations: 0 / 0.7622 GB, free: 332 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.7113, allocations: 4 kB / 0.7622 GB, free: 328 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.093e-05/0.7114, allocations: 7.984 kB / 0.7622 GB, free: 320 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.7114, allocations: 3.938 kB / 0.7622 GB, free: 316 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.953e-05/0.7115, allocations: 4 kB / 0.7622 GB, free: 312 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.7115, allocations: 7.953 kB / 0.7622 GB, free: 304 kB / 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001438/0.7117, allocations: 153.3 kB / 0.7624 GB, free: 136 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.936e-05/0.7117, allocations: 4 kB / 0.7624 GB, free: 132 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.133e-05/0.7117, allocations: 8.375 kB / 0.7624 GB, free: 124 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.7118, allocations: 4 kB / 0.7624 GB, free: 120 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.7118, allocations: 0 / 0.7624 GB, free: 120 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.7118, allocations: 0 / 0.7624 GB, free: 120 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004799/0.7123, allocations: 400.2 kB / 0.7628 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.7123, allocations: 0 / 0.7628 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.956e-06/0.7123, allocations: 3.938 kB / 0.7628 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.7123, allocations: 4 kB / 0.7628 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.7123, allocations: 4 kB / 0.7628 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.7123, allocations: 0 / 0.7628 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7123, allocations: 0 / 0.7628 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.7126, allocations: 241.1 kB / 0.763 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.228e-05/0.7127, allocations: 85.02 kB / 0.7631 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.7127, allocations: 4 kB / 0.7631 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.7128, allocations: 15.98 kB / 0.7631 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.55e-05/0.7129, allocations: 8.078 kB / 0.7631 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.7129, allocations: 7.938 kB / 0.7631 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.09e-05/0.713, allocations: 95.22 kB / 0.7632 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.713, allocations: 0 / 0.7632 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002847/0.7133, allocations: 12 kB / 0.7632 GB, free: 15.15 MB / 0.5417 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 (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.0006165/0.7139, allocations: 0.7583 MB / 0.764 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002388/0.7142, allocations: 115.3 kB / 0.7641 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.7142, allocations: 0 / 0.7641 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.7143, allocations: 95.33 kB / 0.7642 GB, free: 14.13 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.7146, allocations: 11.98 kB / 0.7642 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.7158, allocations: 0.7917 MB / 0.765 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.7161, allocations: 0.6965 MB / 0.7656 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.755e-05/0.7162, allocations: 0 / 0.7656 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.886e-05/0.7162, allocations: 15.44 kB / 0.7657 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of SimCode: time 3.71e-07/0.7163, allocations: 7.875 kB / 0.7657 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01569/0.732, allocations: 1.571 MB / 0.7672 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002272/0.7322, allocations: 165.1 kB / 0.7674 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/2.45, allocations: 0 / 0.7674 GB, free: 10.83 MB / 0.5417 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)