Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.001402/0.001402, allocations: 104.3 kB / 19.7 MB, free: 2.059 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.001492/0.001492, allocations: 212.6 kB / 22.99 MB, free: 4.867 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.565/1.565, allocations: 230.6 MB / 256.8 MB, free: 7.805 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 1.035/1.035, allocations: 149.9 MB / 463.1 MB, free: 10.41 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.Routing.Validation.IntegerExtractSignal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",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.002231/0.002231, allocations: 68.34 kB / 0.6411 GB, free: 10.16 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1753, allocations: 89.17 MB / 0.7282 GB, free: 1.066 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002513/0.1778, allocations: 0.8302 MB / 0.729 GB, free: 244 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002001/0.1798, allocations: 1.307 MB / 0.7302 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.1799, allocations: 11.94 kB / 0.7303 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001359/0.1801, allocations: 19.8 kB / 0.7303 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.1802, allocations: 27.78 kB / 0.7303 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.1812, allocations: 266 kB / 0.7306 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005976/0.1818, allocations: 327.4 kB / 0.7309 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.182, allocations: 41.59 kB / 0.7309 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002793/0.1823, allocations: 131.7 kB / 0.731 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002729/0.1826, allocations: 103.6 kB / 0.7311 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.989e-05/0.1827, allocations: 32 kB / 0.7312 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.1828, allocations: 47.98 kB / 0.7312 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.226e-05/0.1829, allocations: 47.83 kB / 0.7312 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.1831, allocations: 99.58 kB / 0.7313 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005212/0.1836, allocations: 350.8 kB / 0.7317 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1836, allocations: 0 / 0.7317 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1836, allocations: 0 / 0.7317 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.696e-05/0.1836, allocations: 4 kB / 0.7317 GB, free: 13.45 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0009734/0.1846, allocations: 492.6 kB / 0.7322 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.1847, allocations: 8.031 kB / 0.7322 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.429e-05/0.1847, allocations: 42.73 kB / 0.7322 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003986/0.1851, allocations: 68.8 kB / 0.7323 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006821/0.1858, allocations: 226.3 kB / 0.7325 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.1858, allocations: 16.38 kB / 0.7325 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.033e-05/0.1859, allocations: 24.3 kB / 0.7325 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.1862, allocations: 156.6 kB / 0.7327 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1862, allocations: 0 / 0.7327 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.1862, allocations: 8 kB / 0.7327 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.1862, allocations: 4 kB / 0.7327 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.1863, allocations: 67.84 kB / 0.7327 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008623/0.1872, allocations: 0.6797 MB / 0.7334 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.1873, allocations: 57.25 kB / 0.7335 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.79e-05/0.1873, allocations: 25.77 kB / 0.7335 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.1874, allocations: 4 kB / 0.7335 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002394/0.1876, allocations: 101 kB / 0.7336 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.1876, allocations: 0 / 0.7336 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0003443/0.1879, allocations: 137.5 kB / 0.7337 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/0.188, allocations: 77.11 kB / 0.7338 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.1883, allocations: 207.8 kB / 0.734 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.878e-05/0.1883, allocations: 41.69 kB / 0.734 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.1884, allocations: 132.3 kB / 0.7342 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.1885, allocations: 27.78 kB / 0.7342 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.1886, allocations: 61.67 kB / 0.7342 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.1888, allocations: 330.8 kB / 0.7346 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.189, allocations: 131.4 kB / 0.7347 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002748/0.1892, allocations: 247.3 kB / 0.7349 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/0.1895, allocations: 198.2 kB / 0.7351 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1895, allocations: 0 / 0.7351 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005824/0.1901, allocations: 364.1 kB / 0.7355 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.475e-05/0.1902, allocations: 65.61 kB / 0.7355 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.1902, allocations: 8 kB / 0.7355 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.1902, allocations: 4 kB / 0.7355 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.053e-05/0.1902, allocations: 4 kB / 0.7355 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.1903, allocations: 7.938 kB / 0.7355 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003387/0.1906, allocations: 55.89 kB / 0.7356 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.1906, allocations: 15.98 kB / 0.7356 GB, free: 9.023 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.000168/0.1908, allocations: 153.7 kB / 0.7358 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.1908, allocations: 15.91 kB / 0.7358 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.192e-05/0.1909, allocations: 17.02 kB / 0.7358 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1909, allocations: 0 / 0.7358 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1909, allocations: 4 kB / 0.7358 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1909, allocations: 3.938 kB / 0.7358 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.1911, allocations: 200.6 kB / 0.736 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1911, allocations: 0 / 0.736 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.825e-05/0.1911, allocations: 11.88 kB / 0.736 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.1911, allocations: 480 / 0.736 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.1911, allocations: 8 kB / 0.736 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.1911, allocations: 0 / 0.736 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1911, allocations: 0 / 0.736 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.1913, allocations: 145.8 kB / 0.7361 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.853e-05/0.1914, allocations: 19.89 kB / 0.7362 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.1914, allocations: 0 / 0.7362 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.079e-05/0.1914, allocations: 0 / 0.7362 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.1915, allocations: 11.98 kB / 0.7362 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.1915, allocations: 4 kB / 0.7362 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001412/0.1916, allocations: 144.2 kB / 0.7363 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1916, allocations: 0 / 0.7363 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000278/0.1919, allocations: 51.83 kB / 0.7364 GB, free: 8.172 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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.0005486/0.1924, allocations: 0.674 MB / 0.737 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004402/0.1929, allocations: 298 kB / 0.7373 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1929, allocations: 0 / 0.7373 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.829e-05/0.1929, allocations: 23.98 kB / 0.7373 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.1932, allocations: 39.95 kB / 0.7374 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00297/0.1962, allocations: 2.439 MB / 0.7398 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.1963, allocations: 119.5 kB / 0.7399 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.829e-05/0.1964, allocations: 25.42 kB / 0.7399 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.367e-05/0.1965, allocations: 55.41 kB / 0.7399 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of SimCode: time 5.51e-07/0.1965, allocations: 0 / 0.7399 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03301/0.2295, allocations: 5.071 MB / 0.7449 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.51, allocations: 0 / 0.7449 GB, free: 15.38 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.600341161247343] Failed to read output from testmodel.py, exit status != 0: 11.618854244239628 11.647519735 11.458627036 Calling exit ...