Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001506/0.001506, allocations: 113 kB / 18.94 MB, free: 2.934 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.001443/0.001443, allocations: 210.3 kB / 22.25 MB, free: 5.086 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.385/1.385, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8384/0.8384, allocations: 134 MB / 446.4 MB, free: 10.26 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="IDEAS_IDEAS_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="IDEAS_IDEAS_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001899/0.001899, allocations: 64.88 kB / 0.6185 GB, free: 7.277 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1854, allocations: 85.91 MB / 0.7024 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002784/0.1882, allocations: 1.45 MB / 0.7038 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009077/0.1891, allocations: 486.5 kB / 0.7043 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.024e-05/0.1892, allocations: 0 / 0.7043 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.631e-05/0.1892, allocations: 3.984 kB / 0.7043 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.663e-05/0.1893, allocations: 19.88 kB / 0.7043 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.1895, allocations: 15.97 kB / 0.7043 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000136/0.1896, allocations: 51.84 kB / 0.7044 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.996e-05/0.1897, allocations: 3.938 kB / 0.7044 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.756e-05/0.1898, allocations: 23.92 kB / 0.7044 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.318e-05/0.1898, allocations: 23.86 kB / 0.7044 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.1899, allocations: 4 kB / 0.7044 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.294e-05/0.1899, allocations: 4 kB / 0.7044 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.505e-05/0.1899, allocations: 4 kB / 0.7044 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.654e-05/0.19, allocations: 31.84 kB / 0.7045 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.1901, allocations: 48.05 kB / 0.7045 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1901, allocations: 0 / 0.7045 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.784e-06/0.1901, allocations: 0 / 0.7045 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.1901, allocations: 0 / 0.7045 GB, free: 15.27 MB / 0.5294 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.0006639/0.1908, allocations: 319.9 kB / 0.7048 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.1908, allocations: 8.031 kB / 0.7048 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.862e-05/0.1909, allocations: 34.75 kB / 0.7049 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.1909, allocations: 8.891 kB / 0.7049 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.191, allocations: 114.5 kB / 0.705 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.191, allocations: 12.38 kB / 0.705 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.191, allocations: 384 / 0.705 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.1912, allocations: 49.81 kB / 0.705 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1912, allocations: 0 / 0.705 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.1912, allocations: 8 kB / 0.705 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1912, allocations: 3.984 kB / 0.705 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.5e-05/0.1913, allocations: 19.92 kB / 0.7051 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000422/0.1917, allocations: 243.9 kB / 0.7053 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.128e-05/0.1918, allocations: 38.56 kB / 0.7053 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.72e-05/0.1918, allocations: 16.98 kB / 0.7054 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.1918, allocations: 3.938 kB / 0.7054 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002063/0.192, allocations: 105 kB / 0.7055 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.192, allocations: 0 / 0.7055 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0003037/0.1924, allocations: 155.3 kB / 0.7056 GB, free: 14 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.528e-05/0.1924, allocations: 81.11 kB / 0.7057 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.888e-05/0.1925, allocations: 109.8 kB / 0.7058 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.1926, allocations: 29.7 kB / 0.7058 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.829e-05/0.1926, allocations: 84.14 kB / 0.7059 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.1926, allocations: 19.83 kB / 0.7059 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.1927, allocations: 25.72 kB / 0.7059 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1929, allocations: 322.8 kB / 0.7062 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.225e-05/0.1929, allocations: 20 kB / 0.7063 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.16e-05/0.1929, allocations: 34.56 kB / 0.7063 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.1931, allocations: 113.9 kB / 0.7064 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1931, allocations: 0 / 0.7064 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001687/0.1932, allocations: 127.3 kB / 0.7065 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.631e-05/0.1933, allocations: 37.77 kB / 0.7066 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1933, allocations: 0 / 0.7066 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1933, allocations: 0 / 0.7066 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.48e-05/0.1933, allocations: 7.984 kB / 0.7066 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1933, allocations: 0 / 0.7066 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.886e-05/0.1934, allocations: 8 kB / 0.7066 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.1934, allocations: 4 kB / 0.7066 GB, free: 12.89 MB / 0.5294 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.0001295/0.1935, allocations: 160.8 kB / 0.7067 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.1935, allocations: 11.95 kB / 0.7068 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.1936, allocations: 8.375 kB / 0.7068 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1936, allocations: 4 kB / 0.7068 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1936, allocations: 0 / 0.7068 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1936, allocations: 0 / 0.7068 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004179/0.194, allocations: 367.2 kB / 0.7071 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.194, allocations: 0 / 0.7071 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.552e-06/0.194, allocations: 0 / 0.7071 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.194, allocations: 8.297 kB / 0.7071 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.194, allocations: 4 kB / 0.7071 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.194, allocations: 4.062 kB / 0.7071 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.194, allocations: 7.938 kB / 0.7071 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.1943, allocations: 241.5 kB / 0.7074 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.402e-05/0.1943, allocations: 7.953 kB / 0.7074 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.1943, allocations: 0 / 0.7074 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.811e-05/0.1944, allocations: 11.98 kB / 0.7074 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.1945, allocations: 11.92 kB / 0.7074 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.1945, allocations: 8 kB / 0.7074 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.728e-05/0.1945, allocations: 91.34 kB / 0.7075 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1945, allocations: 0 / 0.7075 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002213/0.1947, allocations: 12 kB / 0.7075 GB, free: 11.86 MB / 0.5294 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.0005609/0.1953, allocations: 0.7609 MB / 0.7082 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001911/0.1955, allocations: 119.3 kB / 0.7084 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1955, allocations: 0 / 0.7084 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.174e-05/0.1956, allocations: 75.34 kB / 0.7084 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.1959, allocations: 31.56 kB / 0.7085 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.1973, allocations: 1.417 MB / 0.7098 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.1977, allocations: 0.6925 MB / 0.7105 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.739e-05/0.1977, allocations: 11.92 kB / 0.7105 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.701e-05/0.1978, allocations: 19.44 kB / 0.7106 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of SimCode: time 3.3e-07/0.1978, allocations: 3.938 kB / 0.7106 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02763/0.2254, allocations: 2.027 MB / 0.7125 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.78, allocations: 4.703 kB / 0.7125 GB, free: 6.656 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Controls_Discrete_Examples_BooleanDelay.fmu > IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.419483170000603] Failed to read output from testmodel.py, exit status != 0: 10.886799510000856 10.9159728 10.72104858 Calling exit ...