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.006394/0.006394, allocations: 103.3 kB / 15.73 MB, free: 5.996 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.001292/0.001292, allocations: 187.6 kB / 16.67 MB, free: 5.926 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7928/0.7928, allocations: 135.1 MB / 425.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 73.92 kB / 0.5851 GB, free: 21.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1793, allocations: 80.92 MB / 0.6641 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002892/0.1823, allocations: 1.429 MB / 0.6655 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009277/0.1832, allocations: 427 kB / 0.6659 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.604e-05/0.1833, allocations: 7.938 kB / 0.6659 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.4e-05/0.1834, allocations: 7.922 kB / 0.6659 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.586e-05/0.1835, allocations: 7.922 kB / 0.6659 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001981/0.1837, allocations: 23.92 kB / 0.666 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.1838, allocations: 51.84 kB / 0.666 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.588e-05/0.1839, allocations: 8 kB / 0.666 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.575e-05/0.184, allocations: 23.86 kB / 0.666 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.736e-05/0.1841, allocations: 19.92 kB / 0.6661 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.1841, allocations: 0 / 0.6661 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.242e-05/0.1842, allocations: 4 kB / 0.6661 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.154e-05/0.1842, allocations: 15.92 kB / 0.6661 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.408e-05/0.1843, allocations: 15.92 kB / 0.6661 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.1844, allocations: 46.64 kB / 0.6661 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.1844, allocations: 4 kB / 0.6661 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.134e-06/0.1844, allocations: 4 kB / 0.6661 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.1845, allocations: 0 / 0.6661 GB, free: 4.215 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.000727/0.1852, allocations: 381.9 kB / 0.6665 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.1852, allocations: 13.11 kB / 0.6665 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.798e-05/0.1853, allocations: 34.75 kB / 0.6666 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.1854, allocations: 16.83 kB / 0.6666 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.1855, allocations: 168.3 kB / 0.6667 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.1856, allocations: 4.375 kB / 0.6667 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.1856, allocations: 4.375 kB / 0.6667 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.1857, allocations: 61.73 kB / 0.6668 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1858, allocations: 0 / 0.6668 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.1858, allocations: 0 / 0.6668 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.1858, allocations: 0 / 0.6668 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.267e-05/0.1859, allocations: 16 kB / 0.6668 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005071/0.1864, allocations: 276.7 kB / 0.6671 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.198e-05/0.1865, allocations: 42.52 kB / 0.6671 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.137e-05/0.1865, allocations: 20.97 kB / 0.6671 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.1866, allocations: 0 / 0.6671 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002588/0.1868, allocations: 101.1 kB / 0.6672 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.1868, allocations: 0 / 0.6672 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0003433/0.1872, allocations: 147.3 kB / 0.6674 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.786e-05/0.1873, allocations: 81.11 kB / 0.6675 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.731e-05/0.1874, allocations: 110.2 kB / 0.6676 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.1874, allocations: 29.7 kB / 0.6676 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.048e-05/0.1875, allocations: 88.12 kB / 0.6677 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.1875, allocations: 19.75 kB / 0.6677 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.809e-05/0.1876, allocations: 25.7 kB / 0.6677 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1877, allocations: 322.8 kB / 0.668 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.061e-05/0.1877, allocations: 23.92 kB / 0.668 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.13e-05/0.1878, allocations: 34.58 kB / 0.6681 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.1879, allocations: 110 kB / 0.6682 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1879, allocations: 3.938 kB / 0.6682 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001734/0.1881, allocations: 131.2 kB / 0.6683 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.417e-05/0.1882, allocations: 41.69 kB / 0.6684 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1882, allocations: 0 / 0.6684 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1882, allocations: 0 / 0.6684 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.258e-05/0.1883, allocations: 4 kB / 0.6684 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.1883, allocations: 0 / 0.6684 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.225e-05/0.1884, allocations: 12.36 kB / 0.6684 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.1884, allocations: 4 kB / 0.6684 GB, free: 1.637 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.000121/0.1885, allocations: 151.5 kB / 0.6685 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.882e-05/0.1885, allocations: 11.91 kB / 0.6685 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.78e-05/0.1886, allocations: 12.31 kB / 0.6685 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.84e-06/0.1886, allocations: 4 kB / 0.6685 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.1886, allocations: 3.984 kB / 0.6686 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1886, allocations: 0 / 0.6686 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/0.189, allocations: 396.2 kB / 0.6689 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.189, allocations: 4.062 kB / 0.6689 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.608e-06/0.189, allocations: 3.938 kB / 0.6689 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.189, allocations: 0 / 0.6689 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.189, allocations: 4 kB / 0.6689 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1891, allocations: 4 kB / 0.6689 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.1891, allocations: 3.938 kB / 0.6689 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.1893, allocations: 233.1 kB / 0.6692 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.845e-05/0.1893, allocations: 81.09 kB / 0.6692 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.1894, allocations: 7.938 kB / 0.6693 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.767e-05/0.1895, allocations: 4 kB / 0.6693 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.1895, allocations: 15.92 kB / 0.6693 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.1896, allocations: 8 kB / 0.6693 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.141e-05/0.1896, allocations: 87.27 kB / 0.6694 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1896, allocations: 0 / 0.6694 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002301/0.1899, allocations: 16 kB / 0.6694 GB, free: 500 kB / 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.0005508/0.1904, allocations: 0.7583 MB / 0.6701 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002115/0.1906, allocations: 123.2 kB / 0.6702 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1906, allocations: 3.938 kB / 0.6702 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.493e-05/0.1907, allocations: 91.39 kB / 0.6703 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.1911, allocations: 22.02 kB / 0.6703 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.1925, allocations: 1.423 MB / 0.6717 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.1928, allocations: 0.6907 MB / 0.6724 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.305e-05/0.1928, allocations: 7.781 kB / 0.6724 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.1929, allocations: 15.44 kB / 0.6724 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of SimCode: time 3.3e-07/0.1929, allocations: 4 kB / 0.6724 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01943/0.2123, allocations: 1.905 MB / 0.6743 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.839/8.051, allocations: 4 kB / 0.6743 GB, free: 11.34 MB / 0.5137 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)