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.0009098/0.0009098, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0008755/0.0008757, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9856/0.9856, allocations: 135.2 MB / 426.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003554/0.0003558, allocations: 10.31 kB / 0.5069 GB, free: 5.176 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1732, allocations: 82.31 MB / 0.5873 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.001396/0.1747, allocations: 1.126 MB / 0.5884 GB, free: 1.906 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006041/0.1753, allocations: 399.5 kB / 0.5888 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.22e-05/0.1753, allocations: 7.938 kB / 0.5888 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.723e-05/0.1754, allocations: 3.938 kB / 0.5888 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.037e-05/0.1754, allocations: 7.984 kB / 0.5888 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001216/0.1756, allocations: 11.98 kB / 0.5888 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.294e-05/0.1757, allocations: 35.89 kB / 0.5888 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.434e-05/0.1757, allocations: 4 kB / 0.5888 GB, free: 1.441 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.702e-05/0.1758, allocations: 23.91 kB / 0.5888 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.588e-05/0.1759, allocations: 19.92 kB / 0.5889 GB, free: 1.398 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.1759, allocations: 0 / 0.5889 GB, free: 1.398 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.171e-05/0.1759, allocations: 4 kB / 0.5889 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.1759, allocations: 7.984 kB / 0.5889 GB, free: 1.387 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.549e-05/0.176, allocations: 33.64 kB / 0.5889 GB, free: 1.348 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.202e-05/0.176, allocations: 24.23 kB / 0.5889 GB, free: 1.324 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.176, allocations: 0 / 0.5889 GB, free: 1.324 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1761, allocations: 0 / 0.5889 GB, free: 1.324 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.1761, allocations: 0 / 0.5889 GB, free: 1.324 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.0005228/0.1766, allocations: 392.8 kB / 0.5893 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.1766, allocations: 12.03 kB / 0.5893 GB, free: 0.875 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.743e-05/0.1767, allocations: 38.5 kB / 0.5894 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.589e-05/0.1767, allocations: 4 kB / 0.5894 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.1768, allocations: 175 kB / 0.5895 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.1768, allocations: 3.984 kB / 0.5895 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.1769, allocations: 7.938 kB / 0.5895 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.177, allocations: 53.67 kB / 0.5896 GB, free: 0.543 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.177, allocations: 4 kB / 0.5896 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-06/0.177, allocations: 0 / 0.5896 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.177, allocations: 0 / 0.5896 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.634e-05/0.1771, allocations: 19.92 kB / 0.5896 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003565/0.1774, allocations: 276.8 kB / 0.5899 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.496e-05/0.1775, allocations: 42.56 kB / 0.5899 GB, free: 152 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.1775, allocations: 3.984 kB / 0.5899 GB, free: 148 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001834/0.1777, allocations: 101.2 kB / 0.59 GB, free: 28 kB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.1777, allocations: 0 / 0.59 GB, free: 28 kB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002998/0.178, allocations: 224.4 kB / 0.5902 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.1781, allocations: 81.11 kB / 0.5903 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.919e-05/0.1782, allocations: 109.8 kB / 0.5904 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.1782, allocations: 33.7 kB / 0.5904 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.988e-05/0.1783, allocations: 84.14 kB / 0.5905 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.1783, allocations: 15.81 kB / 0.5905 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.1783, allocations: 0 / 0.5905 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1784, allocations: 322.8 kB / 0.5908 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.754e-05/0.1784, allocations: 12.28 kB / 0.5909 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.681e-05/0.1785, allocations: 42.5 kB / 0.5909 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.943e-05/0.1786, allocations: 49.7 kB / 0.5909 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1786, allocations: 0 / 0.5909 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001536/0.1787, allocations: 127.2 kB / 0.5911 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.1788, allocations: 37.7 kB / 0.5911 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1788, allocations: 0 / 0.5911 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.1788, allocations: 0 / 0.5911 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.053e-05/0.1788, allocations: 8 kB / 0.5911 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.485e-06/0.1788, allocations: 8 kB / 0.5911 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.564e-05/0.1789, allocations: 15.98 kB / 0.5911 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.1789, allocations: 4 kB / 0.5911 GB, free: 14.77 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 ($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.0001103/0.1791, allocations: 151.5 kB / 0.5913 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.704e-05/0.1791, allocations: 7.906 kB / 0.5913 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.994e-05/0.1791, allocations: 12.31 kB / 0.5913 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1791, allocations: 0 / 0.5913 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1791, allocations: 4 kB / 0.5913 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1791, allocations: 0 / 0.5913 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003649/0.1795, allocations: 396.2 kB / 0.5917 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1795, allocations: 4 kB / 0.5917 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.114e-06/0.1795, allocations: 0 / 0.5917 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1795, allocations: 0 / 0.5917 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.1796, allocations: 7.984 kB / 0.5917 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1796, allocations: 0 / 0.5917 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1796, allocations: 0 / 0.5917 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.1798, allocations: 241 kB / 0.5919 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.891e-05/0.1798, allocations: 81.11 kB / 0.592 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.1798, allocations: 4 kB / 0.592 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.814e-05/0.1799, allocations: 7.984 kB / 0.592 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.18, allocations: 11.98 kB / 0.592 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.18, allocations: 4 kB / 0.592 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.92e-05/0.1801, allocations: 87.38 kB / 0.5921 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1801, allocations: 3.938 kB / 0.5921 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002178/0.1803, allocations: 15.95 kB / 0.5921 GB, free: 13.62 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 (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.0004538/0.1808, allocations: 0.7648 MB / 0.5929 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001568/0.1809, allocations: 115.3 kB / 0.593 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.1809, allocations: 0 / 0.593 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.711e-05/0.181, allocations: 95.33 kB / 0.5931 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.1812, allocations: 12.11 kB / 0.5931 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007889/0.182, allocations: 0.7903 MB / 0.5939 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.1823, allocations: 0.6926 MB / 0.5945 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.545e-05/0.1823, allocations: 7.984 kB / 0.5945 GB, free: 11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.446e-05/0.1823, allocations: 15.44 kB / 0.5946 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1824, allocations: 0 / 0.5946 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.138/2.321, allocations: 1.58 MB / 0.5961 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000675/2.321, allocations: 176.7 kB / 0.5963 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/3.973, allocations: 0 / 0.5963 GB, free: 9.309 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/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) Environment - environmentSimulation: