Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 117.3 kB / 17.76 MB, free: 5.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 184.6 kB / 20.69 MB, free: 2.41 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 222.9 MB / 246.4 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.1/1.1, allocations: 147.6 MB / 446.2 MB, free: 8.305 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 73.28 kB / 0.6121 GB, free: 37.79 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1782, allocations: 83.17 MB / 0.6933 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch): time 0.002227/0.1804, allocations: 0.7679 MB / 0.6941 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001623/0.1821, allocations: 1.149 MB / 0.6952 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.46e-05/0.1822, allocations: 1.125 kB / 0.6952 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.245e-05/0.1822, allocations: 7.922 kB / 0.6952 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.184e-05/0.1823, allocations: 14.05 kB / 0.6952 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005367/0.1828, allocations: 132.7 kB / 0.6953 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002099/0.1831, allocations: 137.5 kB / 0.6955 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.852e-05/0.1832, allocations: 14.81 kB / 0.6955 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.77e-05/0.1833, allocations: 57.83 kB / 0.6955 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.1834, allocations: 52.23 kB / 0.6956 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.1834, allocations: 14.94 kB / 0.6956 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.373e-05/0.1835, allocations: 21.88 kB / 0.6956 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.83e-05/0.1835, allocations: 14.67 kB / 0.6956 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.295e-05/0.1836, allocations: 44.22 kB / 0.6957 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.1838, allocations: 123.1 kB / 0.6958 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1838, allocations: 0 / 0.6958 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.734e-06/0.1839, allocations: 0 / 0.6958 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.1839, allocations: 0 / 0.6958 GB, free: 11.16 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007752/0.1846, allocations: 428.7 kB / 0.6962 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.1847, allocations: 9.625 kB / 0.6962 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.37e-05/0.1848, allocations: 10.39 kB / 0.6962 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.1849, allocations: 176.3 kB / 0.6964 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.185, allocations: 7.125 kB / 0.6964 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.185, allocations: 5.875 kB / 0.6964 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.1853, allocations: 78.95 kB / 0.6965 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.1853, allocations: 5.547 kB / 0.6965 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.1853, allocations: 11.86 kB / 0.6965 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.1853, allocations: 1.375 kB / 0.6965 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003165/0.1856, allocations: 71.17 kB / 0.6966 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005408/0.1862, allocations: 333.3 kB / 0.6969 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.1864, allocations: 55.41 kB / 0.6969 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.1866, allocations: 41.52 kB / 0.697 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.1866, allocations: 0.9375 kB / 0.697 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000285/0.1869, allocations: 100.2 kB / 0.6971 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.914e-06/0.1869, allocations: 0 / 0.6971 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0006718/0.1876, allocations: 167.3 kB / 0.6972 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.1877, allocations: 56.84 kB / 0.6973 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.1878, allocations: 123 kB / 0.6974 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001078/0.1879, allocations: 28.89 kB / 0.6974 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.43e-05/0.188, allocations: 95.41 kB / 0.6975 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.188, allocations: 14.72 kB / 0.6975 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.548e-05/0.1881, allocations: 30.27 kB / 0.6976 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1883, allocations: 325.4 kB / 0.6979 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/0.1885, allocations: 60.42 kB / 0.6979 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/0.1888, allocations: 80.55 kB / 0.698 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000384/0.1892, allocations: 150.2 kB / 0.6981 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1892, allocations: 1.656 kB / 0.6981 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005446/0.1897, allocations: 207.4 kB / 0.6983 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.399e-05/0.1898, allocations: 37.38 kB / 0.6984 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.83e-06/0.1898, allocations: 3.938 kB / 0.6984 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1898, allocations: 5.594 kB / 0.6984 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.1899, allocations: 19.67 kB / 0.6984 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.19, allocations: 1.25 kB / 0.6984 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.1902, allocations: 45.45 kB / 0.6985 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.1902, allocations: 5.406 kB / 0.6985 GB, free: 8.75 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.000112/0.1903, allocations: 122.2 kB / 0.6986 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.83e-05/0.1904, allocations: 10.67 kB / 0.6986 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.279e-05/0.1904, allocations: 13.64 kB / 0.6986 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1904, allocations: 1.375 kB / 0.6986 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1904, allocations: 0 / 0.6986 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1904, allocations: 0 / 0.6986 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.1906, allocations: 181.9 kB / 0.6988 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1906, allocations: 5.312 kB / 0.6988 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.1907, allocations: 22.97 kB / 0.6988 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1908, allocations: 0 / 0.6988 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.1908, allocations: 1.375 kB / 0.6988 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1908, allocations: 4 kB / 0.6988 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.1908, allocations: 1.375 kB / 0.6988 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004085/0.1912, allocations: 152.2 kB / 0.6989 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.171e-05/0.1913, allocations: 83.86 kB / 0.699 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.1913, allocations: 8 kB / 0.699 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.701e-05/0.1914, allocations: 14.86 kB / 0.6991 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/0.1915, allocations: 8.109 kB / 0.6991 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.1915, allocations: 1.375 kB / 0.6991 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.676e-05/0.1915, allocations: 98.52 kB / 0.6992 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1916, allocations: 1.375 kB / 0.6992 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002178/0.1918, allocations: 23.2 kB / 0.6992 GB, free: 8.051 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001869/0.192, allocations: 107 kB / 0.6993 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005296/0.1925, allocations: 189 kB / 0.6995 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1925, allocations: 0 / 0.6995 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.1927, allocations: 47.97 kB / 0.6995 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.1929, allocations: 22.08 kB / 0.6995 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003809/0.1933, allocations: 187.7 kB / 0.6997 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.1937, allocations: 0.6885 MB / 0.7004 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.812e-05/0.1937, allocations: 11.44 kB / 0.7004 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of SimCode: time 4.81e-07/0.1937, allocations: 3.938 kB / 0.7004 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of Templates: time 0.003475/0.1972, allocations: 1.315 MB / 0.7017 GB, free: 5.469 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.164267221000046] Failed to read output from testmodel.py, exit status != 0: 0.5483539428096265 0.21788681000000001 0.031352454 Calling exit ...