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.001364/0.001363, allocations: 108.9 kB / 17.07 MB, free: 6 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.001404/0.001404, allocations: 191.8 kB / 20.02 MB, free: 3.07 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.465/1.465, allocations: 222.9 MB / 245.7 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.137/1.137, allocations: 147.6 MB / 445.6 MB, free: 8.355 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002943/0.002943, allocations: 63.55 kB / 0.611 GB, free: 37.81 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1787, allocations: 83.15 MB / 0.6922 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch): time 0.002361/0.1811, allocations: 0.7675 MB / 0.6929 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001871/0.183, allocations: 1.152 MB / 0.694 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.915e-05/0.1831, allocations: 1.406 kB / 0.694 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.338e-05/0.1831, allocations: 3.938 kB / 0.694 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.404e-05/0.1833, allocations: 13.39 kB / 0.6941 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000507/0.1838, allocations: 134.8 kB / 0.6942 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000192/0.184, allocations: 137.1 kB / 0.6943 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.19e-05/0.1841, allocations: 22.41 kB / 0.6943 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.95e-05/0.1842, allocations: 45.53 kB / 0.6944 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.1843, allocations: 49.03 kB / 0.6944 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.985e-05/0.1843, allocations: 22.61 kB / 0.6944 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.152e-05/0.1844, allocations: 30.11 kB / 0.6945 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.737e-05/0.1844, allocations: 14.67 kB / 0.6945 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.396e-05/0.1845, allocations: 40.23 kB / 0.6945 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.1847, allocations: 116.6 kB / 0.6946 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.1847, allocations: 1.375 kB / 0.6946 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1847, allocations: 0 / 0.6946 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.1848, allocations: 0 / 0.6946 GB, free: 11.47 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.0007702/0.1855, allocations: 428.7 kB / 0.6951 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.1856, allocations: 9.625 kB / 0.6951 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.589e-05/0.1856, allocations: 32.12 kB / 0.6951 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.783e-05/0.1857, allocations: 14.39 kB / 0.6951 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.1859, allocations: 179 kB / 0.6953 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.1859, allocations: 4.5 kB / 0.6953 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.1859, allocations: 5.875 kB / 0.6953 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002776/0.1862, allocations: 78.89 kB / 0.6954 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1862, allocations: 11.88 kB / 0.6954 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.1862, allocations: 5.375 kB / 0.6954 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1862, allocations: 1.375 kB / 0.6954 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003124/0.1866, allocations: 65.23 kB / 0.6954 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004891/0.1871, allocations: 331.4 kB / 0.6958 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.1873, allocations: 59.14 kB / 0.6958 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.1874, allocations: 41.72 kB / 0.6959 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.1875, allocations: 1.5 kB / 0.6959 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002653/0.1877, allocations: 95.69 kB / 0.6959 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.1878, allocations: 0 / 0.6959 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0006367/0.1884, allocations: 166.9 kB / 0.6961 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.1885, allocations: 52.89 kB / 0.6962 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.1886, allocations: 127.6 kB / 0.6963 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.1886, allocations: 28.3 kB / 0.6963 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.296e-05/0.1887, allocations: 96.03 kB / 0.6964 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.1887, allocations: 17.95 kB / 0.6964 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.542e-05/0.1888, allocations: 34.95 kB / 0.6964 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.189, allocations: 316 kB / 0.6967 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/0.1892, allocations: 64.75 kB / 0.6968 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.1895, allocations: 82.3 kB / 0.6969 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003924/0.1899, allocations: 149.7 kB / 0.697 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1899, allocations: 0 / 0.697 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005598/0.1904, allocations: 212.3 kB / 0.6972 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.985e-05/0.1905, allocations: 41.56 kB / 0.6973 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1905, allocations: 1.406 kB / 0.6973 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.1905, allocations: 1.406 kB / 0.6973 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.1907, allocations: 22.83 kB / 0.6973 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.1907, allocations: 1.344 kB / 0.6973 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002539/0.191, allocations: 38.62 kB / 0.6973 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.191, allocations: 9.703 kB / 0.6973 GB, free: 9.023 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.0001173/0.1911, allocations: 123.2 kB / 0.6975 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.1911, allocations: 6.703 kB / 0.6975 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.46e-05/0.1912, allocations: 15.12 kB / 0.6975 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1912, allocations: 0 / 0.6975 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.1912, allocations: 5.375 kB / 0.6975 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.1912, allocations: 0 / 0.6975 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.1914, allocations: 193.9 kB / 0.6977 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1914, allocations: 0 / 0.6977 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.1915, allocations: 14.98 kB / 0.6977 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1915, allocations: 1.375 kB / 0.6977 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.1915, allocations: 0 / 0.6977 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1915, allocations: 1.375 kB / 0.6977 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.1916, allocations: 7.984 kB / 0.6977 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004068/0.192, allocations: 153.3 kB / 0.6978 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.796e-05/0.192, allocations: 86.41 kB / 0.6979 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.1921, allocations: 1.375 kB / 0.6979 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.573e-05/0.1921, allocations: 18.84 kB / 0.6979 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.1922, allocations: 10.73 kB / 0.698 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-06/0.1922, allocations: 2.75 kB / 0.698 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.137e-05/0.1923, allocations: 94.14 kB / 0.698 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1923, allocations: 0 / 0.698 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002244/0.1925, allocations: 24.58 kB / 0.6981 GB, free: 8.316 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.0007942/0.1933, allocations: 0.6823 MB / 0.6987 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005217/0.1938, allocations: 194.6 kB / 0.6989 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1939, allocations: 0 / 0.6989 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.1941, allocations: 51.27 kB / 0.699 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.1943, allocations: 16.08 kB / 0.699 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002403/0.1967, allocations: 1.631 MB / 0.7006 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.1971, allocations: 0.6923 MB / 0.7013 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.182e-05/0.1971, allocations: 4 kB / 0.7013 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.969e-05/0.1972, allocations: 23.42 kB / 0.7013 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of SimCode: time 7.41e-07/0.1972, allocations: 3.938 kB / 0.7013 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/0.2206, allocations: 2.669 MB / 0.7039 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.867/8.087, allocations: 13.72 kB / 0.7039 GB, free: 2.523 MB / 0.5137 GB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Switch.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.163769044913352] Failed to read output from testmodel.py, exit status != 0: 8.539135450962931 8.168495061 7.980727022 Calling exit ...