Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.001344/0.001344, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001538/0.001538, allocations: 215.6 kB / 22.99 MB, free: 4.609 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.9664/0.9664, allocations: 149.9 MB / 463.1 MB, free: 10.31 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.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",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.002122/0.002122, allocations: 67.36 kB / 0.6411 GB, free: 10.09 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1792, allocations: 89.18 MB / 0.7282 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.00238/0.1815, allocations: 0.8903 MB / 0.729 GB, free: 108 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002034/0.1836, allocations: 1.455 MB / 0.7305 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.276e-05/0.1836, allocations: 4 kB / 0.7305 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.788e-05/0.1837, allocations: 15.75 kB / 0.7305 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000161/0.1838, allocations: 63.56 kB / 0.7305 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009974/0.1848, allocations: 439 kB / 0.731 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005472/0.1854, allocations: 491.1 kB / 0.7314 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.1855, allocations: 29.94 kB / 0.7315 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.1857, allocations: 187.6 kB / 0.7316 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002485/0.186, allocations: 155.4 kB / 0.7318 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.085e-05/0.1861, allocations: 48 kB / 0.7318 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.1862, allocations: 63.98 kB / 0.7319 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.826e-05/0.1862, allocations: 39.84 kB / 0.7319 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001763/0.1864, allocations: 147.5 kB / 0.7321 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005594/0.187, allocations: 0.4909 MB / 0.7326 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.187, allocations: 3.938 kB / 0.7326 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.187, allocations: 4 kB / 0.7326 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.187, allocations: 0 / 0.7326 GB, free: 12.5 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008993/0.1879, allocations: 0.5586 MB / 0.7331 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.1879, allocations: 12.03 kB / 0.7331 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.448e-05/0.188, allocations: 38.75 kB / 0.7332 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.249e-05/0.1881, allocations: 28.84 kB / 0.7332 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.1883, allocations: 177.1 kB / 0.7334 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.098e-05/0.1883, allocations: 12.38 kB / 0.7334 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.572e-05/0.1884, allocations: 20.38 kB / 0.7334 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.1886, allocations: 126.8 kB / 0.7335 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.1886, allocations: 3.938 kB / 0.7335 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1886, allocations: 0 / 0.7335 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.1886, allocations: 7.984 kB / 0.7335 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.1887, allocations: 51.92 kB / 0.7336 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.1898, allocations: 0.7578 MB / 0.7343 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.19, allocations: 118.5 kB / 0.7344 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.92e-05/0.19, allocations: 51.42 kB / 0.7345 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.1901, allocations: 4 kB / 0.7345 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000318/0.1904, allocations: 166.7 kB / 0.7346 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 3.246e-06/0.1904, allocations: 3.984 kB / 0.7346 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.00047/0.1908, allocations: 233.4 kB / 0.7349 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.912e-05/0.1909, allocations: 140.5 kB / 0.735 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002715/0.1912, allocations: 240.8 kB / 0.7352 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.153e-05/0.1913, allocations: 37.7 kB / 0.7353 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.1914, allocations: 136.5 kB / 0.7354 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.365e-05/0.1914, allocations: 27.8 kB / 0.7354 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/0.1916, allocations: 97.59 kB / 0.7355 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.1918, allocations: 338.7 kB / 0.7358 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003885/0.1922, allocations: 275 kB / 0.7361 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004483/0.1926, allocations: 353.5 kB / 0.7364 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004931/0.1931, allocations: 372.9 kB / 0.7368 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1931, allocations: 0 / 0.7368 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001076/0.1942, allocations: 0.698 MB / 0.7375 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001198/0.1943, allocations: 130.8 kB / 0.7376 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.1943, allocations: 3.984 kB / 0.7376 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.1943, allocations: 7.984 kB / 0.7376 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.842e-05/0.1944, allocations: 12 kB / 0.7376 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.1944, allocations: 7.938 kB / 0.7376 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006138/0.195, allocations: 115.9 kB / 0.7377 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.523e-05/0.1951, allocations: 23.97 kB / 0.7378 GB, free: 6.645 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001698/0.1953, allocations: 154.3 kB / 0.7379 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/0.1953, allocations: 19.86 kB / 0.7379 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.844e-05/0.1954, allocations: 25.33 kB / 0.7379 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1954, allocations: 4 kB / 0.7379 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.1954, allocations: 4 kB / 0.738 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.1954, allocations: 3.938 kB / 0.738 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.1956, allocations: 208.7 kB / 0.7382 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1956, allocations: 0 / 0.7382 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.87e-05/0.1957, allocations: 12 kB / 0.7382 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1957, allocations: 4 kB / 0.7382 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.1957, allocations: 3.984 kB / 0.7382 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.1957, allocations: 4 kB / 0.7382 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1957, allocations: 0 / 0.7382 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.196, allocations: 218.9 kB / 0.7384 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.196, allocations: 35.78 kB / 0.7384 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.1961, allocations: 4 kB / 0.7384 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.138e-05/0.1961, allocations: 4 kB / 0.7384 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.1962, allocations: 23.91 kB / 0.7384 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.1962, allocations: 8 kB / 0.7385 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001728/0.1964, allocations: 176.4 kB / 0.7386 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1964, allocations: 0 / 0.7386 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003155/0.1967, allocations: 64 kB / 0.7387 GB, free: 5.605 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007222/0.1974, allocations: 0.7592 MB / 0.7394 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008376/0.1982, allocations: 0.6134 MB / 0.74 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1982, allocations: 0 / 0.74 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.1984, allocations: 51.92 kB / 0.7401 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.1988, allocations: 70.98 kB / 0.7401 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004554/0.2033, allocations: 3.536 MB / 0.7436 GB, free: 180 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001663/0.2035, allocations: 116.9 kB / 0.7437 GB, free: 44 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.978e-05/0.2036, allocations: 25.62 kB / 0.7437 GB, free: 16 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.2037, allocations: 55.5 kB / 0.7438 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of SimCode: time 5.71e-07/0.2037, allocations: 0 / 0.7438 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03597/0.2397, allocations: 7.554 MB / 0.7512 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.81, allocations: 2.234 kB / 0.7512 GB, free: 8.652 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.910198129247874] Failed to read output from testmodel.py, exit status != 0: 11.921995040029287 12.244189042 12.054228621 Calling exit ...