Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average.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.001337/0.001337, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001572/0.001572, allocations: 214.7 kB / 23.78 MB, free: 4.523 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.522/1.522, allocations: 230.6 MB / 257.6 MB, free: 7.793 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.9832/0.9832, allocations: 150 MB / 464 MB, free: 10.19 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.Average,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Average",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Average",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.00197/0.00197, allocations: 63.28 kB / 0.642 GB, free: 9.848 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1903, allocations: 89.18 MB / 0.7291 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Average): time 0.001918/0.1922, allocations: 0.6809 MB / 0.7298 GB, free: 68 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009626/0.1932, allocations: 0.8237 MB / 0.7306 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.485e-05/0.1932, allocations: 0 / 0.7306 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.727e-05/0.1932, allocations: 4 kB / 0.7306 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.265e-05/0.1933, allocations: 7.875 kB / 0.7306 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 6.26e-05/0.1934, allocations: 11.97 kB / 0.7306 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.664e-05/0.1934, allocations: 51.86 kB / 0.7306 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.036e-05/0.1935, allocations: 4 kB / 0.7306 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.265e-05/0.1936, allocations: 19.92 kB / 0.7307 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.628e-05/0.1936, allocations: 23.91 kB / 0.7307 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.1937, allocations: 4 kB / 0.7307 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.217e-06/0.1937, allocations: 4 kB / 0.7307 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/0.1937, allocations: 8 kB / 0.7307 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.97e-05/0.1937, allocations: 11.92 kB / 0.7307 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.273e-05/0.1938, allocations: 51.95 kB / 0.7308 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.1938, allocations: 4 kB / 0.7308 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1938, allocations: 0 / 0.7308 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.1938, allocations: 4 kB / 0.7308 GB, free: 15.02 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.0005239/0.1944, allocations: 290.2 kB / 0.731 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.1944, allocations: 8.031 kB / 0.731 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.735e-05/0.1944, allocations: 4.188 kB / 0.731 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.916e-05/0.1944, allocations: 30.75 kB / 0.7311 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.522e-05/0.1945, allocations: 12.86 kB / 0.7311 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.1946, allocations: 114.4 kB / 0.7312 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.1946, allocations: 8.375 kB / 0.7312 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.1946, allocations: 4.375 kB / 0.7312 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.1948, allocations: 65.97 kB / 0.7313 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.1948, allocations: 0 / 0.7313 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.1949, allocations: 8 kB / 0.7313 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1949, allocations: 0 / 0.7313 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003002/0.1952, allocations: 67.86 kB / 0.7313 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003763/0.1955, allocations: 228 kB / 0.7316 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.1958, allocations: 58.53 kB / 0.7316 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.1959, allocations: 36.91 kB / 0.7317 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.1959, allocations: 0 / 0.7317 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.196, allocations: 38.5 kB / 0.7317 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.196, allocations: 0 / 0.7317 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005403/0.1965, allocations: 129.5 kB / 0.7318 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.1966, allocations: 51.41 kB / 0.7319 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.1967, allocations: 109.8 kB / 0.732 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.1967, allocations: 25.7 kB / 0.732 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.098e-05/0.1968, allocations: 88.12 kB / 0.7321 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.1968, allocations: 7.938 kB / 0.7321 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.1968, allocations: 21.72 kB / 0.7321 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.197, allocations: 318.8 kB / 0.7324 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.1971, allocations: 31.95 kB / 0.7324 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.1973, allocations: 31.91 kB / 0.7325 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.1976, allocations: 72.78 kB / 0.7325 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1976, allocations: 0 / 0.7325 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000329/0.1979, allocations: 97.91 kB / 0.7326 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.1979, allocations: 7.938 kB / 0.7326 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.1979, allocations: 3.984 kB / 0.7326 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.1979, allocations: 4 kB / 0.7326 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.1981, allocations: 19.97 kB / 0.7327 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1981, allocations: 4 kB / 0.7327 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.072e-05/0.1982, allocations: 11.98 kB / 0.7327 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.1982, allocations: 0 / 0.7327 GB, free: 12.86 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 9.645e-05/0.1983, allocations: 117.7 kB / 0.7328 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.1983, allocations: 3.953 kB / 0.7328 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.371e-05/0.1983, allocations: 12 kB / 0.7328 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.1983, allocations: 3.984 kB / 0.7328 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1983, allocations: 0 / 0.7328 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1983, allocations: 0 / 0.7328 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.1985, allocations: 140.7 kB / 0.7329 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1985, allocations: 3.938 kB / 0.733 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.616e-05/0.1986, allocations: 15.98 kB / 0.733 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1986, allocations: 0 / 0.733 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.1986, allocations: 4 kB / 0.733 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1986, allocations: 0 / 0.733 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1986, allocations: 0 / 0.733 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004289/0.1991, allocations: 199.4 kB / 0.7332 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.582e-05/0.1991, allocations: 11.89 kB / 0.7332 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.1991, allocations: 0 / 0.7332 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.1992, allocations: 11.98 kB / 0.7332 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.1993, allocations: 7.922 kB / 0.7332 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.1993, allocations: 4 kB / 0.7332 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.14e-05/0.1993, allocations: 83.28 kB / 0.7333 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1993, allocations: 0 / 0.7333 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002185/0.1995, allocations: 8 kB / 0.7333 GB, free: 12.16 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.0007614/0.2003, allocations: 0.7345 MB / 0.734 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003371/0.2006, allocations: 67.86 kB / 0.7341 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2006, allocations: 0 / 0.7341 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.2008, allocations: 39.95 kB / 0.7341 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.2011, allocations: 10.03 kB / 0.7341 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000474/0.2016, allocations: 159.1 kB / 0.7343 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.849e-05/0.2017, allocations: 71.23 kB / 0.7343 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.369e-05/0.2017, allocations: 4 kB / 0.7343 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.755e-05/0.2017, allocations: 15.44 kB / 0.7343 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.2017, allocations: 0 / 0.7343 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02214/0.2239, allocations: 1.823 MB / 0.7361 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.67, allocations: 4.938 kB / 0.7361 GB, free: 9.32 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Average_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Average.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.638890411006287] Failed to read output from testmodel.py, exit status != 0: 11.830226104008034 11.859328713 11.659737633 Calling exit ...