Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.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.001265/0.001265, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001436/0.001436, allocations: 215.7 kB / 23.78 MB, free: 4.555 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.504/1.504, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.9986/0.9986, allocations: 150 MB / 463.9 MB, free: 10.21 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.Reals.Validation.Cos,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Cos",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.002002/0.002002, allocations: 58.59 kB / 0.642 GB, free: 9.883 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1859, allocations: 89.18 MB / 0.7291 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Cos): time 0.00224/0.1881, allocations: 0.64 MB / 0.7297 GB, free: 148 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.1892, allocations: 0.851 MB / 0.7305 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.161e-05/0.1893, allocations: 0 / 0.7305 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.74e-05/0.1893, allocations: 3.938 kB / 0.7305 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.822e-05/0.1894, allocations: 0 / 0.7305 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.1895, allocations: 15.92 kB / 0.7306 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.509e-05/0.1896, allocations: 16 kB / 0.7306 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.607e-05/0.1897, allocations: 7.984 kB / 0.7306 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.331e-05/0.1897, allocations: 15.94 kB / 0.7306 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.075e-05/0.1898, allocations: 19.91 kB / 0.7306 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.1898, allocations: 0 / 0.7306 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.293e-05/0.1898, allocations: 4 kB / 0.7306 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.1899, allocations: 4 kB / 0.7306 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.352e-05/0.1899, allocations: 7.938 kB / 0.7306 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.19, allocations: 36.11 kB / 0.7307 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.19, allocations: 0 / 0.7307 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.19, allocations: 0 / 0.7307 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.19, allocations: 0 / 0.7307 GB, free: 15.15 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004765/0.1905, allocations: 266.3 kB / 0.7309 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.1905, allocations: 8.031 kB / 0.7309 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.134e-05/0.1906, allocations: 4.172 kB / 0.7309 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.889e-05/0.1906, allocations: 30.75 kB / 0.731 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.467e-05/0.1907, allocations: 4.938 kB / 0.731 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.1908, allocations: 114.5 kB / 0.7311 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.1908, allocations: 384 / 0.7311 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-06/0.1908, allocations: 384 / 0.7311 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.191, allocations: 57.92 kB / 0.7311 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.191, allocations: 0 / 0.7311 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.191, allocations: 4 kB / 0.7311 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.191, allocations: 0 / 0.7311 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.1912, allocations: 35.95 kB / 0.7312 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/0.1915, allocations: 224 kB / 0.7314 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.1917, allocations: 38.5 kB / 0.7314 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.099e-05/0.1918, allocations: 24.91 kB / 0.7314 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.1918, allocations: 7.938 kB / 0.7315 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.1918, allocations: 30.56 kB / 0.7315 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1918, allocations: 0 / 0.7315 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003497/0.1922, allocations: 81.64 kB / 0.7316 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.1922, allocations: 51.41 kB / 0.7316 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.1923, allocations: 97.84 kB / 0.7317 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.1923, allocations: 29.7 kB / 0.7317 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.543e-05/0.1924, allocations: 92.14 kB / 0.7318 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.1924, allocations: 7.953 kB / 0.7318 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/0.1924, allocations: 13.72 kB / 0.7318 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1926, allocations: 322.8 kB / 0.7321 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.297e-05/0.1927, allocations: 11.98 kB / 0.7322 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.265e-05/0.1927, allocations: 19.98 kB / 0.7322 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.1929, allocations: 44.75 kB / 0.7322 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1929, allocations: 4.062 kB / 0.7322 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001935/0.1931, allocations: 57.67 kB / 0.7323 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1931, allocations: 8 kB / 0.7323 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1931, allocations: 0 / 0.7323 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1931, allocations: 0 / 0.7323 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.233e-05/0.1932, allocations: 11.92 kB / 0.7323 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.1932, allocations: 0 / 0.7323 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.9e-05/0.1933, allocations: 7.984 kB / 0.7323 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.1933, allocations: 8.031 kB / 0.7323 GB, free: 13.27 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 (2): * Single equations (assignments): 2 * 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 9.189e-05/0.1934, allocations: 113.8 kB / 0.7324 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.1934, allocations: 3.953 kB / 0.7324 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/0.1936, allocations: 68.97 kB / 0.7325 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1936, allocations: 0 / 0.7325 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1936, allocations: 0 / 0.7325 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/0.1936, allocations: 0 / 0.7325 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.1938, allocations: 128.7 kB / 0.7326 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1938, allocations: 4.031 kB / 0.7326 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.791e-05/0.1939, allocations: 11.98 kB / 0.7326 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1939, allocations: 0 / 0.7326 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.1939, allocations: 0 / 0.7326 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1939, allocations: 3.938 kB / 0.7326 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1939, allocations: 0 / 0.7326 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.1941, allocations: 167.6 kB / 0.7328 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.838e-06/0.1941, allocations: 3.984 kB / 0.7328 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.1942, allocations: 4.031 kB / 0.7328 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.665e-05/0.1942, allocations: 7.984 kB / 0.7328 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.1943, allocations: 0 / 0.7328 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.1943, allocations: 4 kB / 0.7328 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.947e-05/0.1943, allocations: 87.2 kB / 0.7329 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1943, allocations: 4 kB / 0.7329 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002153/0.1945, allocations: 0 / 0.7329 GB, free: 12.59 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 (2): * Single equations (assignments): 2 * 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.0006279/0.1952, allocations: 0.7084 MB / 0.7336 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001961/0.1954, allocations: 39.89 kB / 0.7336 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1954, allocations: 0 / 0.7336 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.78e-05/0.1955, allocations: 19.98 kB / 0.7336 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.1958, allocations: 10.19 kB / 0.7337 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000441/0.1962, allocations: 147.8 kB / 0.7338 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.044e-05/0.1963, allocations: 63.34 kB / 0.7339 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.089e-05/0.1963, allocations: 0 / 0.7339 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.834e-05/0.1963, allocations: 11.44 kB / 0.7339 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of SimCode: time 2.8e-07/0.1963, allocations: 0 / 0.7339 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02165/0.218, allocations: 1.443 MB / 0.7353 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.57, allocations: 8.031 kB / 0.7353 GB, free: 10.21 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Cos_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Cos.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.520714394981042] Failed to read output from testmodel.py, exit status != 0: 11.742768972064368 11.773538312 11.577870818 Calling exit ...