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.001885/0.001885, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7698/0.7698, allocations: 133.4 MB / 146.7 MB, free: 10.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.934/1.934, allocations: 221.3 MB / 400.4 MB, free: 5.777 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 108.8 kB / 483.3 MB, free: 5.793 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.3e-05/4.302e-05, allocations: 2.281 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1807, allocations: 82.3 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7553/0.9361, allocations: 111.8 MB / 0.7497 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/0.9363, allocations: 67.56 kB / 0.7497 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004331/0.9407, allocations: 1.23 MB / 0.7509 GB, free: 27.42 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9407, allocations: 0 / 0.7509 GB, free: 27.42 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.787e-06/0.9407, allocations: 0 / 0.7509 GB, free: 27.42 MB / 0.5105 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.0005604/0.9413, allocations: 386 kB / 0.7513 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.9414, allocations: 11.78 kB / 0.7513 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.742e-05/0.9414, allocations: 37.16 kB / 0.7514 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/0.9415, allocations: 5.594 kB / 0.7514 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.9417, allocations: 166.9 kB / 0.7515 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.9417, allocations: 7.062 kB / 0.7515 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.9417, allocations: 3.812 kB / 0.7515 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.9419, allocations: 53.44 kB / 0.7516 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.9419, allocations: 0 / 0.7516 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.9419, allocations: 0 / 0.7516 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.9419, allocations: 0 / 0.7516 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.224e-05/0.942, allocations: 19.31 kB / 0.7516 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004734/0.9425, allocations: 268 kB / 0.7519 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.556e-05/0.9426, allocations: 44.28 kB / 0.7519 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.64e-05/0.9427, allocations: 24.67 kB / 0.7519 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.9427, allocations: 0 / 0.7519 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001913/0.9429, allocations: 104.1 kB / 0.752 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.9429, allocations: 0 / 0.752 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0003063/0.9432, allocations: 122.4 kB / 0.7521 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.599e-05/0.9433, allocations: 84.92 kB / 0.7522 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.785e-05/0.9434, allocations: 110.9 kB / 0.7523 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.9435, allocations: 25.7 kB / 0.7524 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.014e-05/0.9435, allocations: 87.55 kB / 0.7524 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.9436, allocations: 23.08 kB / 0.7525 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/0.9436, allocations: 4 kB / 0.7525 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.9437, allocations: 317 kB / 0.7528 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.308e-05/0.9438, allocations: 15.41 kB / 0.7528 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.051e-05/0.9439, allocations: 40.08 kB / 0.7528 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.835e-05/0.9439, allocations: 51.38 kB / 0.7529 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.9439, allocations: 0 / 0.7529 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002059/0.9442, allocations: 122.3 kB / 0.753 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.884e-05/0.9442, allocations: 36.25 kB / 0.753 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.9442, allocations: 0 / 0.753 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.9443, allocations: 0 / 0.753 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.269e-05/0.9443, allocations: 3.875 kB / 0.753 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.9443, allocations: 3.969 kB / 0.753 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.257e-05/0.9444, allocations: 22.53 kB / 0.753 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.9445, allocations: 3.875 kB / 0.7531 GB, free: 25.48 MB / 0.5105 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.0001272/0.9446, allocations: 146.9 kB / 0.7532 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.9446, allocations: 7.75 kB / 0.7532 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.388e-05/0.9447, allocations: 8.312 kB / 0.7532 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.9447, allocations: 3.938 kB / 0.7532 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.9447, allocations: 0 / 0.7532 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.9447, allocations: 3.047 kB / 0.7532 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004864/0.9452, allocations: 396.4 kB / 0.7536 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.9452, allocations: 0 / 0.7536 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.233e-05/0.9452, allocations: 7.172 kB / 0.7536 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.9453, allocations: 4 kB / 0.7536 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.9453, allocations: 0 / 0.7536 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.9453, allocations: 0 / 0.7536 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.9453, allocations: 3.953 kB / 0.7536 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.9456, allocations: 227 kB / 0.7538 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.9457, allocations: 95.72 kB / 0.7539 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.9457, allocations: 0 / 0.7539 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.9459, allocations: 13.94 kB / 0.7539 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.9459, allocations: 5.625 kB / 0.7539 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.946, allocations: 14.52 kB / 0.7539 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.717e-05/0.946, allocations: 86.75 kB / 0.754 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9461, allocations: 0 / 0.754 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003967/0.9465, allocations: 11.72 kB / 0.754 GB, free: 24.64 MB / 0.5105 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.0006503/0.9471, allocations: 0.7655 MB / 0.7548 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002303/0.9474, allocations: 110.4 kB / 0.7549 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.9474, allocations: 3.875 kB / 0.7549 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.9475, allocations: 87.52 kB / 0.755 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.9478, allocations: 11.95 kB / 0.755 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005762/0.9484, allocations: 133.1 kB / 0.7551 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.9488, allocations: 0.6869 MB / 0.7558 GB, free: 23 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4e-05/0.9488, allocations: 6.938 kB / 0.7558 GB, free: 23 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.228e-05/0.9489, allocations: 18.16 kB / 0.7558 GB, free: 23 MB / 0.5105 GB Notification: Performance of SimCode: time 6.81e-07/0.9489, allocations: 0 / 0.7558 GB, free: 23 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01596/0.9649, allocations: 1.594 MB / 0.7574 GB, free: 22.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/0.9651, allocations: 156.2 kB / 0.7575 GB, free: 22.57 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.689/2.654, allocations: 0 / 0.7575 GB, free: 22.57 MB / 0.5105 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)