Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.001296/0.001296, allocations: 119.4 kB / 19.7 MB, free: 2.188 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.001547/0.001547, allocations: 219.7 kB / 23 MB, free: 5.004 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.408/1.408, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.9204/0.9204, allocations: 150 MB / 463.2 MB, free: 10.47 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.Logical.Sources.Validation.Constant,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_Constant",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.002186/0.002186, allocations: 71.05 kB / 0.6413 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.189, allocations: 89.18 MB / 0.7284 GB, free: 1.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002/0.191, allocations: 0.5245 MB / 0.7289 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 4.49e-05/0.1911, allocations: 4 kB / 0.7289 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.759e-05/0.1911, allocations: 0 / 0.7289 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.221e-05/0.1911, allocations: 3.938 kB / 0.7289 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.476e-05/0.1912, allocations: 4 kB / 0.7289 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 3.152e-05/0.1912, allocations: 0 / 0.7289 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.829e-05/0.1913, allocations: 7.938 kB / 0.7289 GB, free: 0.707 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.292e-05/0.1913, allocations: 0 / 0.7289 GB, free: 0.707 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.629e-05/0.1913, allocations: 7.938 kB / 0.7289 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.84e-05/0.1913, allocations: 0 / 0.7289 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.1914, allocations: 4 kB / 0.7289 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.007e-06/0.1914, allocations: 0 / 0.7289 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.1914, allocations: 3.984 kB / 0.7289 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.048e-05/0.1914, allocations: 0 / 0.7289 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 6.366e-05/0.1915, allocations: 7.922 kB / 0.7289 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1915, allocations: 4 kB / 0.7289 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.893e-06/0.1915, allocations: 0 / 0.7289 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.1915, allocations: 0 / 0.7289 GB, free: 0.6797 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000311/0.1918, allocations: 238.7 kB / 0.7292 GB, free: 424 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.1918, allocations: 12.03 kB / 0.7292 GB, free: 412 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.437e-05/0.1919, allocations: 30.75 kB / 0.7292 GB, free: 372 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.499e-05/0.1919, allocations: 8.922 kB / 0.7292 GB, free: 364 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.192, allocations: 106.5 kB / 0.7293 GB, free: 232 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.284e-06/0.192, allocations: 384 / 0.7293 GB, free: 232 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.192, allocations: 8.375 kB / 0.7293 GB, free: 224 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.942e-05/0.1921, allocations: 26.27 kB / 0.7293 GB, free: 192 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1921, allocations: 3.938 kB / 0.7293 GB, free: 188 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.1921, allocations: 0 / 0.7293 GB, free: 188 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.1921, allocations: 0 / 0.7293 GB, free: 188 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.833e-05/0.1921, allocations: 4 kB / 0.7293 GB, free: 184 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003875/0.1925, allocations: 354.6 kB / 0.7297 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.1926, allocations: 181 kB / 0.7299 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.435e-05/0.1927, allocations: 80.14 kB / 0.7299 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.944e-05/0.1927, allocations: 75.28 kB / 0.73 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.15e-05/0.1928, allocations: 105.8 kB / 0.7301 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.1928, allocations: 0 / 0.7301 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.834e-05/0.1929, allocations: 37.64 kB / 0.7301 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.439e-05/0.1929, allocations: 126.7 kB / 0.7303 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.193, allocations: 101.8 kB / 0.7304 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.1931, allocations: 25.7 kB / 0.7304 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.818e-05/0.1931, allocations: 80.14 kB / 0.7305 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/0.1931, allocations: 0 / 0.7305 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.1931, allocations: 9.719 kB / 0.7305 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1933, allocations: 315 kB / 0.7308 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.54e-06/0.1933, allocations: 0 / 0.7308 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.248e-06/0.1933, allocations: 4 kB / 0.7308 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.267e-05/0.1933, allocations: 75.28 kB / 0.7308 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.523e-05/0.1934, allocations: 79.22 kB / 0.7309 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.164e-05/0.1934, allocations: 29.69 kB / 0.7309 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.611e-05/0.1935, allocations: 83.28 kB / 0.731 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-05/0.1935, allocations: 91.09 kB / 0.7311 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.838e-05/0.1936, allocations: 154.6 kB / 0.7313 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.932e-05/0.1937, allocations: 79.22 kB / 0.7313 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.003e-05/0.1937, allocations: 154.6 kB / 0.7315 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.214e-05/0.1938, allocations: 75.28 kB / 0.7316 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.2e-05/0.1939, allocations: 79.22 kB / 0.7316 GB, free: 13.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001614/0.194, allocations: 268.3 kB / 0.7319 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.109e-05/0.1941, allocations: 109 kB / 0.732 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.031e-05/0.1942, allocations: 112.1 kB / 0.7321 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.36e-05/0.1942, allocations: 176.3 kB / 0.7323 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.551e-05/0.1943, allocations: 184.2 kB / 0.7324 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.212e-05/0.1944, allocations: 180.2 kB / 0.7326 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002933/0.1947, allocations: 376.2 kB / 0.733 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.319e-05/0.1948, allocations: 109.2 kB / 0.7331 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.324e-05/0.1948, allocations: 101 kB / 0.7332 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-05/0.1949, allocations: 188.2 kB / 0.7334 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-05/0.195, allocations: 176.3 kB / 0.7335 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.662e-05/0.195, allocations: 184.3 kB / 0.7337 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.549e-05/0.1951, allocations: 188.2 kB / 0.7339 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.1953, allocations: 307.7 kB / 0.7342 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.982e-05/0.1954, allocations: 105 kB / 0.7343 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.961e-05/0.1954, allocations: 180.3 kB / 0.7344 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.757e-05/0.1955, allocations: 108.9 kB / 0.7345 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.748e-05/0.1956, allocations: 188.2 kB / 0.7347 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.552e-05/0.1957, allocations: 104.9 kB / 0.7348 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.241e-05/0.1957, allocations: 83.28 kB / 0.7349 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1957, allocations: 0 / 0.7349 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002684/0.196, allocations: 0 / 0.7349 GB, free: 10.14 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0005091/0.1965, allocations: 0.8049 MB / 0.7357 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 5.632e-05/0.1966, allocations: 11.94 kB / 0.7357 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1966, allocations: 0 / 0.7357 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.1966, allocations: 0 / 0.7357 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.197, allocations: 458.6 kB / 0.7361 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.1982, allocations: 1.528 MB / 0.7376 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.1985, allocations: 0.6729 MB / 0.7383 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.157e-06/0.1985, allocations: 3.938 kB / 0.7383 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.808e-05/0.1985, allocations: 7.438 kB / 0.7383 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of SimCode: time 5.31e-07/0.1985, allocations: 3.938 kB / 0.7383 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0284/0.2269, allocations: 1.004 MB / 0.7393 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/10.69, allocations: 5.297 kB / 0.7393 GB, free: 5.656 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.275793441804126] Failed to read output from testmodel.py, exit status != 0: 10.788397311000153 10.809633052 10.614137511 Calling exit ...