Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 103.6 kB / 18.95 MB, free: 2.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 216.8 kB / 22.24 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.413/1.413, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002654/0.002654, allocations: 283.8 kB / 312.7 MB, free: 2.695 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.179/1.179, allocations: 180.6 MB / 0.5369 GB, free: 14.55 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004348/0.004348, allocations: 105.9 kB / 0.7395 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1847, allocations: 95.38 MB / 0.8326 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Discrete.Examples.BooleanDelay): time 0.003126/0.1878, allocations: 1.45 MB / 0.834 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009415/0.1887, allocations: 432.7 kB / 0.8344 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.124e-05/0.1888, allocations: 4 kB / 0.8344 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.132e-05/0.1888, allocations: 7.922 kB / 0.8344 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.695e-05/0.1889, allocations: 11.86 kB / 0.8345 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001898/0.1891, allocations: 15.98 kB / 0.8345 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.1892, allocations: 59.78 kB / 0.8345 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.381e-05/0.1893, allocations: 4 kB / 0.8345 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.422e-05/0.1894, allocations: 23.92 kB / 0.8346 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.687e-05/0.1895, allocations: 19.84 kB / 0.8346 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.1895, allocations: 4 kB / 0.8346 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.459e-05/0.1895, allocations: 4 kB / 0.8346 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.652e-05/0.1896, allocations: 4 kB / 0.8346 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.987e-05/0.1896, allocations: 19.92 kB / 0.8346 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.1898, allocations: 48.03 kB / 0.8346 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1898, allocations: 0 / 0.8346 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.665e-06/0.1898, allocations: 4 kB / 0.8346 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.695e-06/0.1898, allocations: 0 / 0.8346 GB, free: 6.27 MB / 0.5762 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.0006369/0.1904, allocations: 319.9 kB / 0.835 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.1905, allocations: 17.88 kB / 0.835 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.811e-05/0.1905, allocations: 34.75 kB / 0.835 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.1905, allocations: 8.891 kB / 0.835 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.1907, allocations: 110.5 kB / 0.8351 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.1907, allocations: 384 / 0.8351 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.1907, allocations: 4.375 kB / 0.8351 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.1908, allocations: 87.52 kB / 0.8352 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1908, allocations: 7.922 kB / 0.8352 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1909, allocations: 3.984 kB / 0.8352 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-06/0.1909, allocations: 4 kB / 0.8352 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.333e-05/0.1909, allocations: 45.64 kB / 0.8353 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004154/0.1914, allocations: 235.9 kB / 0.8355 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.1915, allocations: 68.27 kB / 0.8356 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.263e-05/0.1915, allocations: 42.69 kB / 0.8356 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.1915, allocations: 7.984 kB / 0.8356 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002288/0.1918, allocations: 134.8 kB / 0.8357 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.1918, allocations: 0 / 0.8357 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0003409/0.1921, allocations: 194.7 kB / 0.8359 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.117e-05/0.1922, allocations: 93.03 kB / 0.836 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.1923, allocations: 105.8 kB / 0.8361 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.1923, allocations: 33.7 kB / 0.8361 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.047e-05/0.1924, allocations: 80.14 kB / 0.8362 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.256e-05/0.1924, allocations: 19.84 kB / 0.8362 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.144e-05/0.1925, allocations: 25.7 kB / 0.8363 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1926, allocations: 322.8 kB / 0.8366 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.43e-05/0.1927, allocations: 49.62 kB / 0.8366 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.921e-05/0.1928, allocations: 68.27 kB / 0.8367 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.1929, allocations: 122.3 kB / 0.8368 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1929, allocations: 0 / 0.8368 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001978/0.1931, allocations: 153 kB / 0.8369 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.999e-05/0.1931, allocations: 35.89 kB / 0.837 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1931, allocations: 0 / 0.837 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.1932, allocations: 7.984 kB / 0.837 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.286e-05/0.1932, allocations: 0 / 0.837 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.1932, allocations: 8.062 kB / 0.837 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.507e-05/0.1933, allocations: 11.95 kB / 0.837 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.1933, allocations: 4.375 kB / 0.837 GB, free: 3.535 MB / 0.5762 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.0001232/0.1934, allocations: 156.1 kB / 0.8372 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/0.1934, allocations: 4 kB / 0.8372 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.1935, allocations: 8.375 kB / 0.8372 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1935, allocations: 3.938 kB / 0.8372 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-05/0.1935, allocations: 0 / 0.8372 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1935, allocations: 0 / 0.8372 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004428/0.1939, allocations: 400.9 kB / 0.8376 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1939, allocations: 4 kB / 0.8376 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.174e-06/0.1939, allocations: 0 / 0.8376 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1939, allocations: 0 / 0.8376 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.1939, allocations: 7.984 kB / 0.8376 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1939, allocations: 0 / 0.8376 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.1939, allocations: 3.938 kB / 0.8376 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.1942, allocations: 254.9 kB / 0.8378 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.692e-05/0.1942, allocations: 12.02 kB / 0.8378 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.1942, allocations: 8 kB / 0.8378 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.1943, allocations: 7.984 kB / 0.8378 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.1944, allocations: 15.92 kB / 0.8379 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.1944, allocations: 7.938 kB / 0.8379 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.736e-05/0.1945, allocations: 87.27 kB / 0.8379 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1945, allocations: 0 / 0.8379 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002281/0.1947, allocations: 16 kB / 0.838 GB, free: 2.445 MB / 0.5762 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.0005513/0.1952, allocations: 0.7899 MB / 0.8387 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002251/0.1955, allocations: 174.6 kB / 0.8389 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1955, allocations: 0 / 0.8389 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.1956, allocations: 117.2 kB / 0.839 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.1959, allocations: 16.78 kB / 0.839 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.1974, allocations: 1.573 MB / 0.8406 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.365e-05/0.1974, allocations: 73.58 kB / 0.8406 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.594e-05/0.1975, allocations: 0 / 0.8406 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.368e-05/0.1975, allocations: 15.44 kB / 0.8406 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/0.1975, allocations: 0 / 0.8406 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02845/0.2259, allocations: 2.517 MB / 0.8431 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.08, allocations: 15.56 kB / 0.8431 GB, free: 13.1 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Controls_Discrete_Examples_BooleanDelay.fmu > BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.21226166607812] Failed to read output from testmodel.py, exit status != 0: 11.181109347846359 11.196063716 11.003196324 Calling exit ...