Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.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.001322/0.001322, allocations: 119.2 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.001332/0.001332, allocations: 221.1 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.376/1.376, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.9584/0.9584, allocations: 150 MB / 463.2 MB, free: 10.52 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.Integers.Validation.Add,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Add",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.002195/0.002195, allocations: 65.33 kB / 0.6413 GB, free: 10.42 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1931, allocations: 89.17 MB / 0.7284 GB, free: 1.305 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Add): time 0.002342/0.1955, allocations: 0.7647 MB / 0.7291 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.1968, allocations: 0.886 MB / 0.73 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.873e-05/0.1969, allocations: 0 / 0.73 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.533e-05/0.1969, allocations: 11.86 kB / 0.73 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.197, allocations: 7.938 kB / 0.73 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.1972, allocations: 35.89 kB / 0.73 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.1974, allocations: 91.81 kB / 0.7301 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.1975, allocations: 19.98 kB / 0.7301 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.1976, allocations: 39.8 kB / 0.7302 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.1978, allocations: 55.81 kB / 0.7302 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/0.1978, allocations: 8 kB / 0.7302 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.701e-05/0.1978, allocations: 8 kB / 0.7302 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.996e-05/0.1978, allocations: 15.92 kB / 0.7303 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.223e-05/0.1979, allocations: 39.78 kB / 0.7303 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.198, allocations: 91.88 kB / 0.7304 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1981, allocations: 0 / 0.7304 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.074e-06/0.1981, allocations: 4 kB / 0.7304 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.1981, allocations: 0 / 0.7304 GB, free: 15.22 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006742/0.1987, allocations: 330 kB / 0.7307 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.1988, allocations: 12.03 kB / 0.7307 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.981e-05/0.1988, allocations: 34.75 kB / 0.7307 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.81e-05/0.1989, allocations: 8.891 kB / 0.7308 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.199, allocations: 118.4 kB / 0.7309 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.199, allocations: 4.375 kB / 0.7309 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.1991, allocations: 16.12 kB / 0.7309 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003112/0.1994, allocations: 105.1 kB / 0.731 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.1994, allocations: 0 / 0.731 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.1994, allocations: 3.984 kB / 0.731 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.1994, allocations: 0 / 0.731 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003744/0.1998, allocations: 107.8 kB / 0.7311 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006258/0.2004, allocations: 311.7 kB / 0.7314 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006372/0.201, allocations: 122.5 kB / 0.7315 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.2012, allocations: 56.81 kB / 0.7316 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.2013, allocations: 7.938 kB / 0.7316 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.2013, allocations: 30.56 kB / 0.7316 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.2013, allocations: 0 / 0.7316 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0006606/0.2019, allocations: 185.5 kB / 0.7318 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.202, allocations: 51.41 kB / 0.7318 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.2021, allocations: 124.3 kB / 0.7319 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.2021, allocations: 25.7 kB / 0.732 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.876e-05/0.2022, allocations: 108 kB / 0.7321 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.2022, allocations: 15.84 kB / 0.7321 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.738e-05/0.2023, allocations: 21.7 kB / 0.7321 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.2025, allocations: 326.8 kB / 0.7324 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.2026, allocations: 43.95 kB / 0.7325 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.2028, allocations: 43.95 kB / 0.7325 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003454/0.2032, allocations: 96.78 kB / 0.7326 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2032, allocations: 0 / 0.7326 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003994/0.2036, allocations: 137.5 kB / 0.7327 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.2036, allocations: 4 kB / 0.7327 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2036, allocations: 0 / 0.7327 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.2036, allocations: 4 kB / 0.7327 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.2038, allocations: 27.91 kB / 0.7328 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.2038, allocations: 8.484 kB / 0.7328 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.2039, allocations: 15.94 kB / 0.7328 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.2039, allocations: 11.92 kB / 0.7328 GB, free: 12.56 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: 3 (reaToInt1.y,reaToInt.y,add1.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): 7 * 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.0001144/0.204, allocations: 113.8 kB / 0.7329 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.2041, allocations: 4 kB / 0.7329 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.982e-05/0.2041, allocations: 8.375 kB / 0.7329 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2041, allocations: 0 / 0.7329 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.2041, allocations: 7.938 kB / 0.7329 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2041, allocations: 4 kB / 0.7329 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.2043, allocations: 176.6 kB / 0.7331 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2043, allocations: 0 / 0.7331 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.2045, allocations: 23.97 kB / 0.7331 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.2045, allocations: 4 kB / 0.7331 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.2045, allocations: 0 / 0.7331 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2045, allocations: 0 / 0.7331 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.2045, allocations: 7.922 kB / 0.7331 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004721/0.205, allocations: 239.3 kB / 0.7334 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.124e-05/0.205, allocations: 11.92 kB / 0.7334 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.205, allocations: 0 / 0.7334 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.2052, allocations: 11.98 kB / 0.7334 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.62e-05/0.2053, allocations: 23.91 kB / 0.7334 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.2053, allocations: 12 kB / 0.7334 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.726e-05/0.2053, allocations: 95.27 kB / 0.7335 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2053, allocations: 0 / 0.7335 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002336/0.2056, allocations: 15.95 kB / 0.7335 GB, free: 11.75 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: 3 (add1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0008232/0.2064, allocations: 0.767 MB / 0.7343 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004191/0.2068, allocations: 107.9 kB / 0.7344 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2068, allocations: 0 / 0.7344 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001969/0.207, allocations: 59.89 kB / 0.7344 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.2074, allocations: 15.92 kB / 0.7344 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.2098, allocations: 1.533 MB / 0.7359 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.2102, allocations: 0.6924 MB / 0.7366 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.626e-05/0.2102, allocations: 11.98 kB / 0.7366 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.584e-05/0.2103, allocations: 31.42 kB / 0.7367 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.2103, allocations: 0 / 0.7367 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03067/0.241, allocations: 2.851 MB / 0.7394 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/10.87, allocations: 3.125 kB / 0.7394 GB, free: 5.688 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Add.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.485384505940601] Failed to read output from testmodel.py, exit status != 0: 10.973633314017206 11.001090147 10.798643208 Calling exit ...