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.001367/0.001367, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001634/0.001634, allocations: 217.5 kB / 22.99 MB, free: 4.977 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.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.9908/0.9908, allocations: 149.9 MB / 463 MB, free: 10.3 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.002385/0.002385, allocations: 66.47 kB / 0.6411 GB, free: 10.08 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1821, allocations: 89.18 MB / 0.7282 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002387/0.1844, allocations: 0.8163 MB / 0.729 GB, free: 156 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001989/0.1864, allocations: 1.319 MB / 0.7302 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.026e-05/0.1865, allocations: 7.938 kB / 0.7303 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.1866, allocations: 15.8 kB / 0.7303 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.1867, allocations: 31.78 kB / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008757/0.1876, allocations: 266 kB / 0.7306 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00046/0.1881, allocations: 327.4 kB / 0.7309 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.1882, allocations: 41.89 kB / 0.7309 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.1884, allocations: 139.7 kB / 0.731 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.1886, allocations: 98.8 kB / 0.7311 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.982e-05/0.1887, allocations: 28 kB / 0.7312 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.1888, allocations: 47.98 kB / 0.7312 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.344e-05/0.1889, allocations: 47.84 kB / 0.7312 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.189, allocations: 103.6 kB / 0.7313 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004217/0.1894, allocations: 346.8 kB / 0.7317 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1894, allocations: 0 / 0.7317 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1894, allocations: 3.938 kB / 0.7317 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.1894, allocations: 0 / 0.7317 GB, free: 13.35 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.0007463/0.1902, allocations: 496.7 kB / 0.7322 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.1902, allocations: 8.031 kB / 0.7322 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.44e-05/0.1903, allocations: 42.73 kB / 0.7322 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000349/0.1906, allocations: 60.78 kB / 0.7323 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006661/0.1913, allocations: 234.2 kB / 0.7325 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.1913, allocations: 16.31 kB / 0.7325 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.413e-05/0.1914, allocations: 20.31 kB / 0.7325 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/0.1916, allocations: 154.2 kB / 0.7327 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1916, allocations: 4 kB / 0.7327 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.1917, allocations: 8 kB / 0.7327 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1917, allocations: 0 / 0.7327 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.1918, allocations: 63.91 kB / 0.7327 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009233/0.1927, allocations: 0.6797 MB / 0.7334 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.1928, allocations: 57.25 kB / 0.7335 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.425e-05/0.1929, allocations: 21.77 kB / 0.7335 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.1929, allocations: 3.984 kB / 0.7335 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002708/0.1932, allocations: 113 kB / 0.7336 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.1932, allocations: 0 / 0.7336 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.000328/0.1935, allocations: 125.5 kB / 0.7337 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.1936, allocations: 85.11 kB / 0.7338 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.1938, allocations: 207.8 kB / 0.734 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.1938, allocations: 29.7 kB / 0.734 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.194, allocations: 148.3 kB / 0.7342 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.836e-05/0.194, allocations: 15.91 kB / 0.7342 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.1941, allocations: 65.62 kB / 0.7342 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.1943, allocations: 334.8 kB / 0.7346 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.1945, allocations: 127.4 kB / 0.7347 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002985/0.1948, allocations: 247.3 kB / 0.7349 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002929/0.1951, allocations: 202.1 kB / 0.7351 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1951, allocations: 0 / 0.7351 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005807/0.1957, allocations: 364.2 kB / 0.7355 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.36e-05/0.1957, allocations: 73.36 kB / 0.7355 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.1957, allocations: 4 kB / 0.7355 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.1958, allocations: 0 / 0.7355 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.709e-05/0.1958, allocations: 8 kB / 0.7355 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.1959, allocations: 7.938 kB / 0.7355 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003321/0.1962, allocations: 60.08 kB / 0.7356 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.1962, allocations: 15.98 kB / 0.7356 GB, free: 8.922 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.0001998/0.1964, allocations: 149 kB / 0.7358 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.1965, allocations: 15.91 kB / 0.7358 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.291e-05/0.1965, allocations: 17.02 kB / 0.7358 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1965, allocations: 0 / 0.7358 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.1965, allocations: 0 / 0.7358 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.1965, allocations: 4 kB / 0.7358 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.1968, allocations: 208.5 kB / 0.736 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1968, allocations: 3.938 kB / 0.736 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.674e-05/0.1968, allocations: 7.938 kB / 0.736 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1968, allocations: 0 / 0.736 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.1968, allocations: 4 kB / 0.736 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1968, allocations: 4 kB / 0.736 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1968, allocations: 0 / 0.736 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.197, allocations: 133.8 kB / 0.7361 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.729e-05/0.1971, allocations: 15.89 kB / 0.7362 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.1971, allocations: 8 kB / 0.7362 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.981e-05/0.1971, allocations: 0 / 0.7362 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.1972, allocations: 15.98 kB / 0.7362 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.1972, allocations: 4 kB / 0.7362 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001291/0.1973, allocations: 144.2 kB / 0.7363 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1973, allocations: 0 / 0.7363 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002961/0.1976, allocations: 43.89 kB / 0.7364 GB, free: 8.086 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.0005768/0.1982, allocations: 0.6779 MB / 0.737 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004526/0.1986, allocations: 302.9 kB / 0.7373 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1986, allocations: 4.062 kB / 0.7373 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.053e-05/0.1987, allocations: 23.98 kB / 0.7373 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.199, allocations: 32.25 kB / 0.7374 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00332/0.2023, allocations: 2.445 MB / 0.7398 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.2025, allocations: 123.5 kB / 0.7399 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.455e-05/0.2026, allocations: 17.48 kB / 0.7399 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.2027, allocations: 55.41 kB / 0.7399 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of SimCode: time 2.004e-06/0.2027, allocations: 4 kB / 0.7399 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04304/0.2457, allocations: 5.065 MB / 0.7449 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.57, allocations: 6.953 kB / 0.7449 GB, free: 15.28 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.41454274719581] Failed to read output from testmodel.py, exit status != 0: 11.688238993752748 11.712193363 11.517999013 Calling exit ...