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.001891/0.001891, allocations: 109 kB / 20.48 MB, free: 1.473 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.002561/0.002561, allocations: 211.5 kB / 23.79 MB, free: 4.684 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.463/1.463, 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.962/0.962, 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.Logical.Sources.Validation.Constant,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="cs",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="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.002003/0.002003, allocations: 58.31 kB / 0.642 GB, free: 10.52 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1871, allocations: 89.18 MB / 0.7291 GB, free: 1.406 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001676/0.1888, allocations: 0.5284 MB / 0.7296 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 4.148e-05/0.1888, allocations: 4 kB / 0.7297 GB, free: 0.875 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.971e-05/0.1889, allocations: 0 / 0.7297 GB, free: 0.875 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.539e-05/0.1889, allocations: 11.94 kB / 0.7297 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.725e-05/0.1889, allocations: 0 / 0.7297 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 2.906e-05/0.189, allocations: 0 / 0.7297 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.318e-05/0.189, allocations: 3.938 kB / 0.7297 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.584e-05/0.1891, allocations: 4 kB / 0.7297 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.048e-05/0.1891, allocations: 4 kB / 0.7297 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.834e-05/0.1891, allocations: 0 / 0.7297 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.1891, allocations: 0 / 0.7297 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.977e-06/0.1891, allocations: 0 / 0.7297 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.1891, allocations: 3.984 kB / 0.7297 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.836e-05/0.1892, allocations: 0 / 0.7297 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 5.815e-05/0.1892, allocations: 3.984 kB / 0.7297 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1892, allocations: 11.94 kB / 0.7297 GB, free: 0.832 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1892, allocations: 0 / 0.7297 GB, free: 0.832 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.1892, allocations: 0 / 0.7297 GB, free: 0.832 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.0002952/0.1895, allocations: 238.7 kB / 0.7299 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.1896, allocations: 8.031 kB / 0.7299 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.471e-05/0.1896, allocations: 192 / 0.7299 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.715e-05/0.1896, allocations: 30.75 kB / 0.73 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.711e-05/0.1896, allocations: 0.9375 kB / 0.73 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.1897, allocations: 118.5 kB / 0.7301 GB, free: 388 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.1898, allocations: 384 / 0.7301 GB, free: 388 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.64e-06/0.1898, allocations: 384 / 0.7301 GB, free: 388 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.297e-05/0.1898, allocations: 37.95 kB / 0.7301 GB, free: 344 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.1899, allocations: 0 / 0.7301 GB, free: 344 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.1899, allocations: 0 / 0.7301 GB, free: 344 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1899, allocations: 0 / 0.7301 GB, free: 344 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.622e-05/0.1899, allocations: 4 kB / 0.7301 GB, free: 340 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003634/0.1902, allocations: 362.5 kB / 0.7305 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.288e-05/0.1903, allocations: 169.1 kB / 0.7306 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.1904, allocations: 84.14 kB / 0.7307 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.001e-05/0.1905, allocations: 79.31 kB / 0.7308 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000106/0.1906, allocations: 109.8 kB / 0.7309 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.1906, allocations: 0 / 0.7309 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 7.217e-05/0.1907, allocations: 29.64 kB / 0.7309 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.977e-05/0.1907, allocations: 126.7 kB / 0.731 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.721e-05/0.1908, allocations: 101.8 kB / 0.7311 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.1908, allocations: 25.7 kB / 0.7311 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.886e-05/0.1909, allocations: 80.14 kB / 0.7312 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.282e-06/0.1909, allocations: 0 / 0.7312 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-05/0.1909, allocations: 17.84 kB / 0.7312 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.191, allocations: 310.8 kB / 0.7315 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.52e-06/0.1911, allocations: 0 / 0.7315 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.527e-06/0.1911, allocations: 0 / 0.7315 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.53e-05/0.1911, allocations: 79.22 kB / 0.7316 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-05/0.1911, allocations: 75.28 kB / 0.7317 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.954e-05/0.1912, allocations: 33.7 kB / 0.7317 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.976e-05/0.1912, allocations: 83.22 kB / 0.7318 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.78e-05/0.1913, allocations: 87.2 kB / 0.7319 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.549e-05/0.1914, allocations: 154.6 kB / 0.732 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.465e-05/0.1914, allocations: 79.22 kB / 0.7321 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.459e-05/0.1915, allocations: 150.6 kB / 0.7322 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.229e-05/0.1915, allocations: 79.22 kB / 0.7323 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.1916, allocations: 79.28 kB / 0.7324 GB, free: 13.85 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.0001433/0.1917, allocations: 268.3 kB / 0.7327 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.701e-05/0.1918, allocations: 105 kB / 0.7328 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.159e-05/0.1919, allocations: 116.1 kB / 0.7329 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.44e-05/0.1919, allocations: 176.3 kB / 0.733 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.76e-05/0.192, allocations: 180.2 kB / 0.7332 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.063e-05/0.1921, allocations: 180.3 kB / 0.7334 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.1924, allocations: 380.2 kB / 0.7337 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.633e-05/0.1925, allocations: 105.2 kB / 0.7338 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.776e-05/0.1925, allocations: 101 kB / 0.7339 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.842e-05/0.1926, allocations: 192.2 kB / 0.7341 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/0.1927, allocations: 180.3 kB / 0.7343 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.056e-05/0.1928, allocations: 184.2 kB / 0.7345 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.719e-05/0.1929, allocations: 180.2 kB / 0.7346 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.1931, allocations: 311.7 kB / 0.7349 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.816e-05/0.1931, allocations: 105 kB / 0.735 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.754e-05/0.1932, allocations: 180.3 kB / 0.7352 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.667e-05/0.1933, allocations: 104.9 kB / 0.7353 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.261e-05/0.1934, allocations: 184.2 kB / 0.7355 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.539e-05/0.1934, allocations: 112.9 kB / 0.7356 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.805e-05/0.1935, allocations: 79.28 kB / 0.7357 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1935, allocations: 0 / 0.7357 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002768/0.1938, allocations: 96 / 0.7357 GB, free: 10.3 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.000464/0.1942, allocations: 0.8126 MB / 0.7365 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 4.122e-05/0.1943, allocations: 3.938 kB / 0.7365 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1943, allocations: 0 / 0.7365 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/0.1943, allocations: 4 kB / 0.7365 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.1947, allocations: 455.7 kB / 0.7369 GB, free: 9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.1958, allocations: 1.528 MB / 0.7384 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.1961, allocations: 0.669 MB / 0.739 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.017e-05/0.1961, allocations: 3.938 kB / 0.7391 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.1962, allocations: 15.53 kB / 0.7391 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of SimCode: time 8.81e-07/0.1962, allocations: 0 / 0.7391 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02153/0.2177, allocations: 1.039 MB / 0.7401 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.42, allocations: 17.31 kB / 0.7401 GB, free: 5.785 MB / 0.5606 GB " [Timeout remaining time 648] (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: 15.200337840011343] Failed to read output from testmodel.py, exit status != 0: 11.579177395964507 11.59556711 11.403242564 Calling exit ...