Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.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.001288/0.001288, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001452/0.001452, allocations: 214.5 kB / 23.78 MB, free: 4.555 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.502/1.502, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.9875/0.9875, allocations: 150 MB / 463.9 MB, free: 10.21 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.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Switch",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Switch",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.00201/0.00201, allocations: 62.56 kB / 0.642 GB, free: 9.895 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1817, allocations: 89.17 MB / 0.729 GB, free: 0.793 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch): time 0.002178/0.1839, allocations: 0.7841 MB / 0.7298 GB, free: 12 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00192/0.1858, allocations: 1.307 MB / 0.7311 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.627e-05/0.1859, allocations: 3.938 kB / 0.7311 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.153e-05/0.186, allocations: 7.875 kB / 0.7311 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.1861, allocations: 23.78 kB / 0.7311 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008564/0.1869, allocations: 322.4 kB / 0.7314 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003605/0.1873, allocations: 291.5 kB / 0.7317 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.1874, allocations: 33.62 kB / 0.7317 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.1876, allocations: 123.7 kB / 0.7319 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/0.1877, allocations: 111.7 kB / 0.732 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.186e-05/0.1878, allocations: 24 kB / 0.732 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.235e-05/0.1879, allocations: 36 kB / 0.732 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.02e-05/0.1879, allocations: 31.84 kB / 0.7321 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.1881, allocations: 95.73 kB / 0.7321 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000347/0.1884, allocations: 263.4 kB / 0.7324 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1884, allocations: 0 / 0.7324 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1884, allocations: 0 / 0.7324 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.1884, allocations: 0 / 0.7324 GB, free: 13.36 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006932/0.1891, allocations: 462.8 kB / 0.7328 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.1892, allocations: 12.03 kB / 0.7329 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.296e-05/0.1892, allocations: 4.188 kB / 0.7329 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.56e-05/0.1892, allocations: 42.73 kB / 0.7329 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.983e-05/0.1893, allocations: 20.84 kB / 0.7329 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.1894, allocations: 130.7 kB / 0.733 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/0.1894, allocations: 20 kB / 0.7331 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.701e-05/0.1895, allocations: 16 kB / 0.7331 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.1897, allocations: 93.55 kB / 0.7332 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1897, allocations: 0 / 0.7332 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.1897, allocations: 7.984 kB / 0.7332 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.1897, allocations: 4 kB / 0.7332 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.1898, allocations: 39.98 kB / 0.7332 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006866/0.1905, allocations: 407.5 kB / 0.7336 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.1907, allocations: 66.67 kB / 0.7337 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.429e-05/0.1908, allocations: 24.86 kB / 0.7337 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.1908, allocations: 11.88 kB / 0.7337 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002578/0.1911, allocations: 125.1 kB / 0.7338 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.1911, allocations: 0 / 0.7338 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0003785/0.1914, allocations: 169.6 kB / 0.734 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.1915, allocations: 55.41 kB / 0.734 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.1917, allocations: 173.4 kB / 0.7342 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/0.1917, allocations: 33.64 kB / 0.7342 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.535e-05/0.1918, allocations: 112.1 kB / 0.7343 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.1918, allocations: 27.84 kB / 0.7344 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.192, allocations: 81.66 kB / 0.7344 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.1922, allocations: 330.8 kB / 0.7348 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.1924, allocations: 185 kB / 0.7349 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/0.1927, allocations: 238.3 kB / 0.7352 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003154/0.193, allocations: 249.1 kB / 0.7354 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.193, allocations: 8 kB / 0.7354 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007746/0.1938, allocations: 0.4892 MB / 0.7359 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.986e-05/0.1939, allocations: 101.1 kB / 0.736 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1939, allocations: 4 kB / 0.736 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1939, allocations: 0 / 0.736 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.415e-05/0.194, allocations: 12 kB / 0.736 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.577e-06/0.194, allocations: 7.875 kB / 0.736 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000463/0.1945, allocations: 87.98 kB / 0.7361 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.566e-05/0.1945, allocations: 19.98 kB / 0.7361 GB, free: 9.203 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 3 * 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.0001353/0.1946, allocations: 137.8 kB / 0.7362 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.1947, allocations: 19.84 kB / 0.7363 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.41e-05/0.1947, allocations: 8.781 kB / 0.7363 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1947, allocations: 8 kB / 0.7363 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1947, allocations: 0 / 0.7363 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.914e-06/0.1947, allocations: 7.969 kB / 0.7363 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.1949, allocations: 184.6 kB / 0.7365 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1949, allocations: 0 / 0.7365 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.756e-05/0.195, allocations: 11.94 kB / 0.7365 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.195, allocations: 0 / 0.7365 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.195, allocations: 4 kB / 0.7365 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.195, allocations: 3.984 kB / 0.7365 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.195, allocations: 0 / 0.7365 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.1952, allocations: 167.7 kB / 0.7366 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.19e-05/0.1952, allocations: 19.91 kB / 0.7367 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.1953, allocations: 0 / 0.7367 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.445e-05/0.1953, allocations: 4 kB / 0.7367 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.1953, allocations: 7.984 kB / 0.7367 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.1954, allocations: 11.98 kB / 0.7367 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.08e-05/0.1954, allocations: 115.2 kB / 0.7368 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1954, allocations: 0 / 0.7368 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002767/0.1957, allocations: 52 kB / 0.7368 GB, free: 8.383 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: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005957/0.1963, allocations: 0.7077 MB / 0.7375 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005821/0.1969, allocations: 443.1 kB / 0.738 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1969, allocations: 0 / 0.738 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.376e-05/0.197, allocations: 43.92 kB / 0.738 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.1973, allocations: 27.92 kB / 0.738 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003168/0.2004, allocations: 2.627 MB / 0.7406 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.443e-05/0.2005, allocations: 94.66 kB / 0.7407 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.576e-05/0.2006, allocations: 12.64 kB / 0.7407 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.604e-05/0.2006, allocations: 39.42 kB / 0.7407 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of SimCode: time 8.81e-07/0.2006, allocations: 0 / 0.7407 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/0.2271, allocations: 4.679 MB / 0.7453 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.79, allocations: 9.688 kB / 0.7453 GB, free: 15.62 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Switch_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Switch.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.641598974936642] Failed to read output from testmodel.py, exit status != 0: 11.950527056935243 11.96870139 11.777065947 Calling exit ...