Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.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.002005/0.002005, allocations: 118.8 kB / 17.84 MB, free: 5.234 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.002497/0.002497, allocations: 202.3 kB / 20.79 MB, free: 2.297 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.642/1.642, allocations: 230.6 MB / 254.2 MB, free: 15.11 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.9977/0.9977, allocations: 150 MB / 460.2 MB, free: 5.309 MB / 350.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.Add,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Add",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Add",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.001947/0.001947, allocations: 65.58 kB / 0.6369 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1816, allocations: 89.13 MB / 0.7239 GB, free: 4 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Add): time 0.002092/0.1837, allocations: 0.6905 MB / 0.7246 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.1847, allocations: 0.8319 MB / 0.7254 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.389e-05/0.1848, allocations: 4 kB / 0.7254 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.764e-05/0.1848, allocations: 3.938 kB / 0.7254 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.836e-05/0.1849, allocations: 3.938 kB / 0.7254 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 6.784e-05/0.185, allocations: 15.98 kB / 0.7254 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.386e-05/0.1851, allocations: 43.84 kB / 0.7255 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1852, allocations: 8 kB / 0.7255 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.465e-05/0.1852, allocations: 15.92 kB / 0.7255 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.212e-05/0.1853, allocations: 27.91 kB / 0.7255 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.1853, allocations: 7.938 kB / 0.7255 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.208e-06/0.1853, allocations: 4 kB / 0.7255 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.169e-05/0.1853, allocations: 11.98 kB / 0.7255 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.63e-05/0.1854, allocations: 19.86 kB / 0.7255 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.1855, allocations: 40.09 kB / 0.7256 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1855, allocations: 0 / 0.7256 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.044e-06/0.1855, allocations: 0 / 0.7256 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.1855, allocations: 0 / 0.7256 GB, free: 2.258 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000575/0.1861, allocations: 363.3 kB / 0.7259 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1861, allocations: 11.97 kB / 0.7259 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.226e-05/0.1861, allocations: 4.188 kB / 0.7259 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.287e-05/0.1862, allocations: 38.73 kB / 0.726 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.204e-05/0.1862, allocations: 0.9375 kB / 0.726 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.1863, allocations: 172.3 kB / 0.7261 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.1863, allocations: 4.375 kB / 0.7262 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.1864, allocations: 4.375 kB / 0.7262 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/0.1866, allocations: 69.91 kB / 0.7262 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.1866, allocations: 0 / 0.7262 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.1866, allocations: 8 kB / 0.7262 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1866, allocations: 0 / 0.7262 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003222/0.187, allocations: 63.92 kB / 0.7263 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003706/0.1873, allocations: 268.9 kB / 0.7265 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.1876, allocations: 62.47 kB / 0.7266 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.1877, allocations: 36.92 kB / 0.7266 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.1877, allocations: 3.984 kB / 0.7266 GB, free: 1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.1878, allocations: 38.55 kB / 0.7267 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1878, allocations: 0 / 0.7267 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.00058/0.1884, allocations: 133.5 kB / 0.7268 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.1884, allocations: 55.41 kB / 0.7269 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.1885, allocations: 105.8 kB / 0.727 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.1885, allocations: 25.7 kB / 0.727 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.48e-05/0.1886, allocations: 92.14 kB / 0.7271 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.1886, allocations: 15.83 kB / 0.7271 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.1887, allocations: 17.72 kB / 0.7271 GB, free: 484 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1888, allocations: 314.8 kB / 0.7274 GB, free: 160 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.189, allocations: 31.95 kB / 0.7274 GB, free: 128 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.1891, allocations: 31.97 kB / 0.7275 GB, free: 96 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002929/0.1894, allocations: 68.78 kB / 0.7275 GB, free: 24 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1894, allocations: 4 kB / 0.7275 GB, free: 20 kB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003532/0.1898, allocations: 93.62 kB / 0.7276 GB, free: 15.92 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1898, allocations: 12 kB / 0.7276 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1898, allocations: 0 / 0.7276 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.1898, allocations: 0 / 0.7276 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.19, allocations: 19.91 kB / 0.7277 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.19, allocations: 4 kB / 0.7277 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.246e-05/0.19, allocations: 7.984 kB / 0.7277 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.1901, allocations: 0 / 0.7277 GB, free: 15.88 MB / 0.545 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 (3): * Single equations (assignments): 3 * 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 8.737e-05/0.1901, allocations: 117.8 kB / 0.7278 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.1902, allocations: 7.953 kB / 0.7278 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.1902, allocations: 11.91 kB / 0.7278 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1902, allocations: 0 / 0.7278 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1902, allocations: 3.938 kB / 0.7278 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.1902, allocations: 0 / 0.7278 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.1904, allocations: 173.5 kB / 0.728 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1904, allocations: 0 / 0.728 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.1905, allocations: 19.98 kB / 0.728 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1905, allocations: 0 / 0.728 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.1905, allocations: 0 / 0.728 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1905, allocations: 4 kB / 0.728 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.1905, allocations: 0 / 0.728 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004063/0.1909, allocations: 195.3 kB / 0.7282 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.917e-05/0.191, allocations: 85.06 kB / 0.7283 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.191, allocations: 0 / 0.7283 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.1911, allocations: 23.92 kB / 0.7283 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.1911, allocations: 3.984 kB / 0.7283 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.1911, allocations: 384 / 0.7283 GB, free: 15.14 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.595e-05/0.1912, allocations: 87.28 kB / 0.7284 GB, free: 15.06 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1912, allocations: 0 / 0.7284 GB, free: 15.06 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002156/0.1914, allocations: 8 kB / 0.7284 GB, free: 15.05 MB / 0.545 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 (3): * Single equations (assignments): 3 * 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.0007488/0.1922, allocations: 0.728 MB / 0.7291 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003741/0.1925, allocations: 79.86 kB / 0.7292 GB, free: 14.22 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1925, allocations: 0 / 0.7292 GB, free: 14.22 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.1927, allocations: 35.95 kB / 0.7292 GB, free: 14.18 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.193, allocations: 8 kB / 0.7292 GB, free: 14.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004788/0.1935, allocations: 156.9 kB / 0.7294 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.1938, allocations: 0.6846 MB / 0.73 GB, free: 13.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.711e-05/0.1938, allocations: 0 / 0.73 GB, free: 13.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.897e-05/0.1939, allocations: 19.44 kB / 0.73 GB, free: 13.25 MB / 0.545 GB Notification: Performance of SimCode: time 3.4e-07/0.1939, allocations: 0 / 0.73 GB, free: 13.25 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01743/0.2113, allocations: 1.669 MB / 0.7317 GB, free: 11.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.304/8.516, allocations: 17.47 kB / 0.7317 GB, free: 11.69 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Add.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.653776627965271] Failed to read output from testmodel.py, exit status != 0: 8.643472439027391 8.668783051 8.478741626 Calling exit ...