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.001321/0.001321, allocations: 105 kB / 20.48 MB, free: 1.488 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.001411/0.001411, allocations: 215.2 kB / 23.79 MB, free: 4.703 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.45/1.45, allocations: 230.6 MB / 257.6 MB, free: 8.031 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.9667/0.9667, 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.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.002006/0.002006, allocations: 68.55 kB / 0.642 GB, free: 10.44 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1764, allocations: 89.17 MB / 0.7291 GB, free: 1.344 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch): time 0.002013/0.1784, allocations: 0.8129 MB / 0.7299 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001801/0.1802, allocations: 1.323 MB / 0.7312 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.023e-05/0.1803, allocations: 4 kB / 0.7312 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.65e-05/0.1803, allocations: 15.8 kB / 0.7312 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.32e-05/0.1804, allocations: 19.8 kB / 0.7312 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008509/0.1813, allocations: 327.5 kB / 0.7316 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003717/0.1817, allocations: 291.5 kB / 0.7318 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.1818, allocations: 37.61 kB / 0.7319 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.1819, allocations: 115.8 kB / 0.732 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.1822, allocations: 111.7 kB / 0.7321 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.587e-05/0.1822, allocations: 24 kB / 0.7321 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.193e-05/0.1823, allocations: 40 kB / 0.7321 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.367e-05/0.1823, allocations: 23.86 kB / 0.7322 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.1825, allocations: 111.5 kB / 0.7323 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003338/0.1828, allocations: 267.4 kB / 0.7325 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1828, allocations: 4 kB / 0.7325 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1828, allocations: 0 / 0.7325 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.1828, allocations: 4 kB / 0.7325 GB, free: 13.84 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.0006666/0.1835, allocations: 458.8 kB / 0.733 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.1835, allocations: 8.031 kB / 0.733 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.95e-05/0.1835, allocations: 4.188 kB / 0.733 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.694e-05/0.1836, allocations: 42.73 kB / 0.733 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.626e-05/0.1837, allocations: 20.84 kB / 0.7331 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.1838, allocations: 131.2 kB / 0.7332 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/0.1838, allocations: 20 kB / 0.7332 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.527e-05/0.1839, allocations: 20 kB / 0.7332 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.1841, allocations: 88.02 kB / 0.7333 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.1841, allocations: 0 / 0.7333 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.1841, allocations: 7.984 kB / 0.7333 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.1841, allocations: 4 kB / 0.7333 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.1842, allocations: 47.92 kB / 0.7334 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006745/0.1849, allocations: 459.4 kB / 0.7338 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.1851, allocations: 78.53 kB / 0.7339 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.56e-05/0.1852, allocations: 24.92 kB / 0.7339 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.1852, allocations: 3.938 kB / 0.7339 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000238/0.1854, allocations: 115.4 kB / 0.734 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.1854, allocations: 4 kB / 0.734 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0003653/0.1858, allocations: 175.9 kB / 0.7342 GB, free: 12 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.1858, allocations: 55.41 kB / 0.7342 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.186, allocations: 170.3 kB / 0.7344 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.881e-05/0.186, allocations: 37.7 kB / 0.7344 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.376e-05/0.1861, allocations: 108.1 kB / 0.7345 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.1862, allocations: 23.84 kB / 0.7346 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.1863, allocations: 73.67 kB / 0.7346 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.1865, allocations: 334.8 kB / 0.7349 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.1867, allocations: 91.95 kB / 0.735 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.1869, allocations: 145.9 kB / 0.7352 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003453/0.1873, allocations: 256.8 kB / 0.7354 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1873, allocations: 0 / 0.7354 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006876/0.1879, allocations: 405 kB / 0.7358 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.688e-05/0.188, allocations: 109.2 kB / 0.7359 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.188, allocations: 0 / 0.7359 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.1881, allocations: 4 kB / 0.7359 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.61e-05/0.1881, allocations: 8 kB / 0.7359 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.1881, allocations: 7.984 kB / 0.7359 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004804/0.1886, allocations: 83.73 kB / 0.736 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.387e-05/0.1886, allocations: 27.98 kB / 0.736 GB, free: 9.961 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.0001359/0.1888, allocations: 137.7 kB / 0.7362 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.1888, allocations: 15.84 kB / 0.7362 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.766e-05/0.1888, allocations: 20.77 kB / 0.7362 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1888, allocations: 4 kB / 0.7362 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1889, allocations: 0 / 0.7362 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.1889, allocations: 0 / 0.7362 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.1891, allocations: 192.5 kB / 0.7364 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1891, allocations: 4 kB / 0.7364 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.523e-05/0.1891, allocations: 11.98 kB / 0.7364 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1891, allocations: 0 / 0.7364 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.1891, allocations: 8 kB / 0.7364 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1891, allocations: 0 / 0.7364 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1891, allocations: 7.938 kB / 0.7364 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.1894, allocations: 160.9 kB / 0.7366 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.213e-05/0.1894, allocations: 11.91 kB / 0.7366 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.1894, allocations: 4 kB / 0.7366 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.52e-05/0.1894, allocations: 7.984 kB / 0.7366 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.1895, allocations: 7.984 kB / 0.7366 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.1895, allocations: 8 kB / 0.7366 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.107e-05/0.1896, allocations: 111.2 kB / 0.7367 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1896, allocations: 4 kB / 0.7367 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002751/0.1899, allocations: 48 kB / 0.7368 GB, free: 9.137 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.0006679/0.1905, allocations: 0.7146 MB / 0.7375 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005322/0.1911, allocations: 346.1 kB / 0.7378 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1911, allocations: 0 / 0.7378 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.656e-05/0.1911, allocations: 47.91 kB / 0.7378 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.1914, allocations: 33.22 kB / 0.7379 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002944/0.1944, allocations: 2.242 MB / 0.7401 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.1947, allocations: 0.72 MB / 0.7408 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.071e-05/0.1948, allocations: 8.656 kB / 0.7408 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.694e-05/0.1948, allocations: 39.42 kB / 0.7408 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.1948, allocations: 0 / 0.7408 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/0.2206, allocations: 4.425 MB / 0.7451 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.52, allocations: 6.297 kB / 0.7451 GB, free: 0.5273 MB / 0.5606 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.29596430703532] Failed to read output from testmodel.py, exit status != 0: 11.678440307965502 11.696201723 11.509935457 Calling exit ...