Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001951/0.001951, allocations: 109 kB / 20.48 MB, free: 1.473 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.002548/0.002548, allocations: 210.7 kB / 23.79 MB, free: 4.684 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.486/1.486, allocations: 230.6 MB / 257.6 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9832/0.9832, allocations: 150 MB / 464 MB, free: 10.55 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Discrete_Examples_BooleanDelay",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Discrete_Examples_BooleanDelay",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002034/0.002034, allocations: 74.34 kB / 0.642 GB, free: 10.46 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.187, allocations: 89.17 MB / 0.7291 GB, free: 1.363 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.00281/0.1898, allocations: 1.455 MB / 0.7305 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008305/0.1906, allocations: 470.8 kB / 0.731 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.576e-05/0.1906, allocations: 0 / 0.731 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.993e-05/0.1907, allocations: 7.922 kB / 0.731 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.444e-05/0.1907, allocations: 7.922 kB / 0.731 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001529/0.1909, allocations: 23.92 kB / 0.731 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000128/0.191, allocations: 55.84 kB / 0.731 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.593e-05/0.1911, allocations: 4 kB / 0.731 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.273e-05/0.1912, allocations: 27.91 kB / 0.7311 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.003e-05/0.1912, allocations: 15.92 kB / 0.7311 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.1912, allocations: 7.938 kB / 0.7311 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.227e-05/0.1913, allocations: 4 kB / 0.7311 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.451e-05/0.1913, allocations: 11.94 kB / 0.7311 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.596e-05/0.1913, allocations: 15.92 kB / 0.7311 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.1914, allocations: 48.03 kB / 0.7312 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1915, allocations: 0 / 0.7312 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1915, allocations: 4 kB / 0.7312 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.1915, allocations: 0 / 0.7312 GB, free: 15.2 MB / 0.5606 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.0006392/0.1921, allocations: 319.9 kB / 0.7315 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.1921, allocations: 12.03 kB / 0.7315 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.727e-05/0.1922, allocations: 4.125 kB / 0.7315 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.361e-05/0.1922, allocations: 34.75 kB / 0.7315 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.1922, allocations: 4.938 kB / 0.7315 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.1923, allocations: 118.5 kB / 0.7316 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1924, allocations: 384 / 0.7316 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.1924, allocations: 8.375 kB / 0.7317 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.1925, allocations: 57.56 kB / 0.7317 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1925, allocations: 0 / 0.7317 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1925, allocations: 0 / 0.7317 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.1925, allocations: 4 kB / 0.7317 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.08e-05/0.1926, allocations: 19.98 kB / 0.7317 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004149/0.193, allocations: 239.9 kB / 0.732 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.183e-05/0.1931, allocations: 42.5 kB / 0.732 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.509e-05/0.1931, allocations: 20.97 kB / 0.732 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.1932, allocations: 0 / 0.732 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002185/0.1934, allocations: 109.1 kB / 0.7321 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.1934, allocations: 0 / 0.7321 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0002917/0.1937, allocations: 143.3 kB / 0.7323 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/0.1937, allocations: 85.05 kB / 0.7323 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.688e-05/0.1938, allocations: 109.8 kB / 0.7324 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.1938, allocations: 29.7 kB / 0.7325 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.806e-05/0.1939, allocations: 84.14 kB / 0.7326 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.1939, allocations: 27.81 kB / 0.7326 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.415e-05/0.194, allocations: 21.72 kB / 0.7326 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1941, allocations: 322.8 kB / 0.7329 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.556e-05/0.1941, allocations: 16 kB / 0.7329 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.643e-05/0.1942, allocations: 42.5 kB / 0.733 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.1943, allocations: 110 kB / 0.7331 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.1943, allocations: 0 / 0.7331 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001759/0.1945, allocations: 127.7 kB / 0.7332 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/0.1945, allocations: 33.77 kB / 0.7332 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1945, allocations: 4 kB / 0.7332 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1946, allocations: 0 / 0.7332 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.014e-05/0.1946, allocations: 15.86 kB / 0.7332 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1946, allocations: 0 / 0.7332 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.602e-05/0.1947, allocations: 4 kB / 0.7333 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.1947, allocations: 4 kB / 0.7333 GB, free: 12.81 MB / 0.5606 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.0001382/0.1948, allocations: 155.5 kB / 0.7334 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.1949, allocations: 7.953 kB / 0.7334 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.455e-05/0.1949, allocations: 8.375 kB / 0.7334 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1949, allocations: 0 / 0.7334 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.1949, allocations: 8.062 kB / 0.7334 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1949, allocations: 0 / 0.7334 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004762/0.1954, allocations: 371.2 kB / 0.7338 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1954, allocations: 0 / 0.7338 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.015e-05/0.1954, allocations: 4 kB / 0.7338 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1954, allocations: 0 / 0.7338 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.1954, allocations: 7.984 kB / 0.7338 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1954, allocations: 4 kB / 0.7338 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.1954, allocations: 7.875 kB / 0.7338 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.1957, allocations: 229.1 kB / 0.734 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.48e-05/0.1957, allocations: 7.953 kB / 0.734 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.1957, allocations: 4 kB / 0.734 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.1958, allocations: 7.984 kB / 0.734 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.1959, allocations: 11.92 kB / 0.7341 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.1959, allocations: 8 kB / 0.7341 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.532e-05/0.1959, allocations: 91.81 kB / 0.7341 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1959, allocations: 0 / 0.7341 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002467/0.1962, allocations: 19.94 kB / 0.7342 GB, free: 11.78 MB / 0.5606 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.0005729/0.1968, allocations: 0.7648 MB / 0.7349 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002006/0.197, allocations: 111.3 kB / 0.735 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.197, allocations: 0 / 0.735 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.322e-05/0.1971, allocations: 83.34 kB / 0.7351 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.1974, allocations: 23.31 kB / 0.7351 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.1989, allocations: 1.425 MB / 0.7365 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.1992, allocations: 0.6885 MB / 0.7372 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.189e-05/0.1993, allocations: 7.984 kB / 0.7372 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.313e-05/0.1993, allocations: 15.44 kB / 0.7372 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of SimCode: time 7.72e-07/0.1993, allocations: 3.938 kB / 0.7372 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02282/0.2222, allocations: 2.067 MB / 0.7392 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.28, allocations: 11.34 kB / 0.7392 GB, free: 6.562 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Discrete_Examples_BooleanDelay.fmu > IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.21168760600267] Failed to read output from testmodel.py, exit status != 0: 11.44385806901846 11.471058732 11.27473106 Calling exit ...