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.001311/0.001311, allocations: 97.17 kB / 19.74 MB, free: 1.871 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.001437/0.001437, allocations: 203.3 kB / 23.04 MB, free: 5.008 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.568/1.568, allocations: 230.6 MB / 256.8 MB, free: 7.742 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 1.029/1.029, allocations: 150 MB / 463.2 MB, free: 10.18 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.Add,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_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.002094/0.002094, allocations: 66.39 kB / 0.6413 GB, free: 9.785 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1984, allocations: 89.18 MB / 0.7284 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Add): time 0.002102/0.2005, allocations: 0.6712 MB / 0.7291 GB, free: 16 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.2017, allocations: 0.8276 MB / 0.7299 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.852e-05/0.2017, allocations: 0 / 0.7299 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.392e-05/0.2017, allocations: 3.938 kB / 0.7299 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.43e-05/0.2018, allocations: 11.92 kB / 0.7299 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 7.411e-05/0.2019, allocations: 15.92 kB / 0.7299 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.893e-05/0.202, allocations: 43.86 kB / 0.7299 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.2021, allocations: 7.984 kB / 0.73 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.071e-05/0.2022, allocations: 15.98 kB / 0.73 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.572e-05/0.2022, allocations: 19.86 kB / 0.73 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.2023, allocations: 4 kB / 0.73 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.057e-05/0.2023, allocations: 11.94 kB / 0.73 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.2023, allocations: 4 kB / 0.73 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.63e-05/0.2023, allocations: 19.92 kB / 0.73 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.2024, allocations: 48.08 kB / 0.7301 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.2024, allocations: 0 / 0.7301 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.395e-06/0.2024, allocations: 0 / 0.7301 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.51e-05/0.2025, allocations: 4 kB / 0.7301 GB, free: 14.97 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000595/0.2031, allocations: 286.2 kB / 0.7304 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.2031, allocations: 8.031 kB / 0.7304 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.229e-05/0.2031, allocations: 34.75 kB / 0.7304 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.767e-05/0.2032, allocations: 8.938 kB / 0.7304 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.2033, allocations: 114.4 kB / 0.7305 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.2033, allocations: 4.312 kB / 0.7305 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.2033, allocations: 384 / 0.7305 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.2036, allocations: 74.16 kB / 0.7306 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.2036, allocations: 3.938 kB / 0.7306 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.2036, allocations: 0 / 0.7306 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.2036, allocations: 3.984 kB / 0.7306 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003027/0.2039, allocations: 63.94 kB / 0.7307 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.2044, allocations: 232 kB / 0.7309 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.2046, allocations: 54.48 kB / 0.7309 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.2048, allocations: 40.91 kB / 0.731 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.2048, allocations: 4 kB / 0.731 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.2048, allocations: 42.56 kB / 0.731 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.2048, allocations: 0 / 0.731 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005854/0.2054, allocations: 133.5 kB / 0.7311 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.2054, allocations: 51.41 kB / 0.7312 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.2056, allocations: 109.8 kB / 0.7313 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.2056, allocations: 29.7 kB / 0.7313 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.281e-05/0.2056, allocations: 84.14 kB / 0.7314 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.2057, allocations: 3.953 kB / 0.7314 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.2057, allocations: 21.66 kB / 0.7314 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.2059, allocations: 314.8 kB / 0.7317 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.206, allocations: 31.97 kB / 0.7318 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.2062, allocations: 35.95 kB / 0.7318 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/0.2064, allocations: 68.73 kB / 0.7319 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2064, allocations: 3.938 kB / 0.7319 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003476/0.2068, allocations: 101.6 kB / 0.732 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.2068, allocations: 8 kB / 0.732 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2068, allocations: 0 / 0.732 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.2068, allocations: 0 / 0.732 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.207, allocations: 19.92 kB / 0.732 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.207, allocations: 0 / 0.732 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.884e-05/0.2071, allocations: 11.98 kB / 0.732 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.2071, allocations: 0 / 0.732 GB, free: 12.81 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 (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 0.0001095/0.2072, allocations: 121.8 kB / 0.7321 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.2072, allocations: 3.953 kB / 0.7321 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.424e-05/0.2072, allocations: 12 kB / 0.7321 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2072, allocations: 7.938 kB / 0.7321 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2072, allocations: 0 / 0.7321 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2072, allocations: 0 / 0.7321 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.2074, allocations: 132.7 kB / 0.7323 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2074, allocations: 0 / 0.7323 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.47e-05/0.2075, allocations: 19.97 kB / 0.7323 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2075, allocations: 0 / 0.7323 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.2075, allocations: 0 / 0.7323 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2075, allocations: 0 / 0.7323 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2075, allocations: 4 kB / 0.7323 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003909/0.2079, allocations: 195.4 kB / 0.7325 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.548e-05/0.2079, allocations: 11.89 kB / 0.7325 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.208, allocations: 0 / 0.7325 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.2081, allocations: 15.97 kB / 0.7325 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/0.2081, allocations: 4 kB / 0.7325 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.2081, allocations: 0 / 0.7325 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.551e-05/0.2082, allocations: 99.25 kB / 0.7326 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2082, allocations: 0 / 0.7326 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002152/0.2084, allocations: 8 kB / 0.7326 GB, free: 12.11 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 (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.0007857/0.2092, allocations: 0.7206 MB / 0.7333 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003625/0.2095, allocations: 75.91 kB / 0.7334 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2095, allocations: 0 / 0.7334 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.2097, allocations: 36.05 kB / 0.7334 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.21, allocations: 8 kB / 0.7334 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005037/0.2105, allocations: 159.1 kB / 0.7336 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.966e-05/0.2106, allocations: 75.23 kB / 0.7336 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.142e-05/0.2106, allocations: 3.984 kB / 0.7336 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.659e-05/0.2107, allocations: 11.44 kB / 0.7337 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.2107, allocations: 0 / 0.7337 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03033/0.241, allocations: 2.191 MB / 0.7358 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.13, allocations: 9.516 kB / 0.7358 GB, free: 8.895 MB / 0.5606 GB " [Timeout remaining time 649] (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: 15.120577293913811] Failed to read output from testmodel.py, exit status != 0: 11.230917192064226 11.246967573 11.041090595 Calling exit ...