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.001449/0.001449, allocations: 97.11 kB / 19.74 MB, free: 1.871 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.001515/0.001515, allocations: 207.5 kB / 23.04 MB, free: 5.008 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.57/1.57, allocations: 230.6 MB / 256.8 MB, free: 7.73 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.9824/0.9824, allocations: 150 MB / 463.2 MB, free: 10.19 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Switch",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.002068/0.002068, allocations: 66.11 kB / 0.6413 GB, free: 9.832 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1821, allocations: 89.18 MB / 0.7284 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001979/0.1841, allocations: 0.7852 MB / 0.7291 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001737/0.1859, allocations: 1.303 MB / 0.7304 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.031e-05/0.1859, allocations: 0 / 0.7304 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.697e-05/0.1859, allocations: 7.875 kB / 0.7304 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.213e-05/0.186, allocations: 27.78 kB / 0.7304 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008221/0.1869, allocations: 321.4 kB / 0.7307 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003427/0.1872, allocations: 299.3 kB / 0.731 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.1873, allocations: 21.62 kB / 0.7311 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.1875, allocations: 123.7 kB / 0.7312 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.1876, allocations: 91.67 kB / 0.7313 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.51e-05/0.1877, allocations: 28 kB / 0.7313 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.729e-05/0.1878, allocations: 39.98 kB / 0.7313 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.994e-05/0.1878, allocations: 23.91 kB / 0.7313 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.188, allocations: 99.69 kB / 0.7314 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003407/0.1883, allocations: 267.4 kB / 0.7317 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1883, allocations: 0 / 0.7317 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1883, allocations: 3.938 kB / 0.7317 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.1883, allocations: 0 / 0.7317 GB, free: 13.32 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.0007043/0.189, allocations: 462.8 kB / 0.7321 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.007e-05/0.1891, allocations: 8.031 kB / 0.7321 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.278e-05/0.1891, allocations: 42.75 kB / 0.7322 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.998e-05/0.1892, allocations: 20.84 kB / 0.7322 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.1893, allocations: 127 kB / 0.7323 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.395e-05/0.1894, allocations: 19.94 kB / 0.7324 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.038e-05/0.1894, allocations: 16 kB / 0.7324 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.1896, allocations: 103.9 kB / 0.7325 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.1896, allocations: 0 / 0.7325 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.1896, allocations: 0 / 0.7325 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.1896, allocations: 4 kB / 0.7325 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.1898, allocations: 43.98 kB / 0.7325 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000718/0.1905, allocations: 407.5 kB / 0.7329 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/0.1907, allocations: 66.67 kB / 0.733 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.26e-05/0.1908, allocations: 28.84 kB / 0.733 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.1908, allocations: 8 kB / 0.733 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002746/0.191, allocations: 123.3 kB / 0.7331 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.191, allocations: 0 / 0.7331 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0003753/0.1914, allocations: 169.5 kB / 0.7333 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.634e-05/0.1915, allocations: 63.34 kB / 0.7333 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.1916, allocations: 165.4 kB / 0.7335 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.425e-05/0.1917, allocations: 33.7 kB / 0.7335 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.674e-05/0.1918, allocations: 112 kB / 0.7336 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.1918, allocations: 31.84 kB / 0.7337 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.1919, allocations: 81.66 kB / 0.7337 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.1921, allocations: 322.8 kB / 0.7341 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002651/0.1923, allocations: 185 kB / 0.7342 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002883/0.1926, allocations: 240.3 kB / 0.7345 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/0.193, allocations: 254.9 kB / 0.7347 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.193, allocations: 0 / 0.7347 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006911/0.1937, allocations: 497.8 kB / 0.7352 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.559e-05/0.1937, allocations: 105.1 kB / 0.7353 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.1938, allocations: 3.984 kB / 0.7353 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.1938, allocations: 4 kB / 0.7353 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.855e-05/0.1938, allocations: 8 kB / 0.7353 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.1938, allocations: 7.938 kB / 0.7353 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004786/0.1943, allocations: 91.97 kB / 0.7354 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.259e-05/0.1944, allocations: 15.98 kB / 0.7354 GB, free: 9.172 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.1945, allocations: 133.8 kB / 0.7355 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.1945, allocations: 31.77 kB / 0.7356 GB, free: 9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.583e-05/0.1946, allocations: 12.72 kB / 0.7356 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.1946, allocations: 7.984 kB / 0.7356 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.1946, allocations: 4 kB / 0.7356 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1946, allocations: 0 / 0.7356 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.1948, allocations: 180.6 kB / 0.7358 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1948, allocations: 3.938 kB / 0.7358 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.422e-05/0.1948, allocations: 11.94 kB / 0.7358 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1948, allocations: 0 / 0.7358 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.1948, allocations: 3.984 kB / 0.7358 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.1948, allocations: 4 kB / 0.7358 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1948, allocations: 0 / 0.7358 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.1951, allocations: 163.4 kB / 0.7359 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.611e-05/0.1951, allocations: 15.84 kB / 0.7359 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.1951, allocations: 8 kB / 0.736 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.455e-05/0.1952, allocations: 8 kB / 0.736 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.1952, allocations: 15.91 kB / 0.736 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.1952, allocations: 8 kB / 0.736 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.796e-05/0.1953, allocations: 111.2 kB / 0.7361 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1953, allocations: 0 / 0.7361 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002692/0.1956, allocations: 48 kB / 0.7361 GB, free: 8.344 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.0005923/0.1962, allocations: 0.7108 MB / 0.7368 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005855/0.1967, allocations: 444 kB / 0.7373 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1967, allocations: 0 / 0.7373 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.211e-05/0.1968, allocations: 43.92 kB / 0.7373 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.1971, allocations: 23.97 kB / 0.7373 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003205/0.2003, allocations: 2.615 MB / 0.7399 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.972e-05/0.2004, allocations: 98.66 kB / 0.74 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.322e-05/0.2005, allocations: 12.64 kB / 0.74 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.375e-05/0.2005, allocations: 43.36 kB / 0.74 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of SimCode: time 1.202e-06/0.2005, allocations: 0 / 0.74 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03182/0.2323, allocations: 5.085 MB / 0.745 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.26, allocations: 5.562 kB / 0.745 GB, free: 15.16 MB / 0.5762 GB " [Timeout remaining time 649] (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 sys.exit(0), Time elapsed: 15.23790068901144] Failed to read output from testmodel.py, exit status != 0: 11.39605576498434 11.412616164 11.221152564 Calling exit ...