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.001369/0.001369, allocations: 119 kB / 19.69 MB, free: 2.199 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.001736/0.001736, allocations: 221.6 kB / 23.01 MB, free: 5.047 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.9786/0.9786, allocations: 150 MB / 463.2 MB, free: 10.47 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Average",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.002225/0.002225, allocations: 67.84 kB / 0.6413 GB, free: 10.3 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1937, allocations: 89.17 MB / 0.7284 GB, free: 1.184 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Average): time 0.002187/0.1959, allocations: 0.7011 MB / 0.7291 GB, free: 496 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.1971, allocations: 0.8276 MB / 0.7299 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.232e-05/0.1972, allocations: 0 / 0.7299 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.385e-05/0.1972, allocations: 11.92 kB / 0.7299 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.421e-05/0.1973, allocations: 7.938 kB / 0.7299 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 7.334e-05/0.1974, allocations: 11.98 kB / 0.7299 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.1975, allocations: 43.84 kB / 0.73 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.1976, allocations: 11.98 kB / 0.73 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.793e-05/0.1977, allocations: 23.92 kB / 0.73 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.485e-05/0.1978, allocations: 15.92 kB / 0.73 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.1978, allocations: 7.938 kB / 0.73 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.254e-05/0.1978, allocations: 4 kB / 0.73 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.024e-05/0.1978, allocations: 4 kB / 0.73 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.856e-05/0.1979, allocations: 23.92 kB / 0.73 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.198, allocations: 48.02 kB / 0.7301 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.198, allocations: 0 / 0.7301 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.555e-06/0.198, allocations: 0 / 0.7301 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.339e-05/0.198, allocations: 0 / 0.7301 GB, free: 15.43 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.0006369/0.1987, allocations: 290.2 kB / 0.7304 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.1987, allocations: 12.03 kB / 0.7304 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.942e-05/0.1988, allocations: 34.75 kB / 0.7304 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.576e-05/0.1988, allocations: 4.938 kB / 0.7304 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.1989, allocations: 114.4 kB / 0.7305 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.1989, allocations: 4.375 kB / 0.7305 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.199, allocations: 384 / 0.7305 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002757/0.1992, allocations: 70.16 kB / 0.7306 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.1993, allocations: 7.922 kB / 0.7306 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.1993, allocations: 0 / 0.7306 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1993, allocations: 4 kB / 0.7306 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002852/0.1996, allocations: 59.94 kB / 0.7307 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004521/0.2, allocations: 240 kB / 0.7309 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.2002, allocations: 62.47 kB / 0.731 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.2004, allocations: 40.86 kB / 0.731 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.2004, allocations: 0 / 0.731 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.2004, allocations: 30.56 kB / 0.731 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.2004, allocations: 0 / 0.731 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005584/0.201, allocations: 133.5 kB / 0.7312 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.201, allocations: 55.41 kB / 0.7312 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.2012, allocations: 105.8 kB / 0.7313 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.2012, allocations: 29.64 kB / 0.7313 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.291e-05/0.2012, allocations: 88.14 kB / 0.7314 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.2013, allocations: 3.953 kB / 0.7314 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.777e-05/0.2013, allocations: 25.7 kB / 0.7314 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.2015, allocations: 310.8 kB / 0.7317 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.2016, allocations: 27.97 kB / 0.7318 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.2017, allocations: 43.89 kB / 0.7318 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002597/0.202, allocations: 72.72 kB / 0.7319 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.202, allocations: 0 / 0.7319 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003343/0.2023, allocations: 97.86 kB / 0.732 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.2024, allocations: 8 kB / 0.732 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2024, allocations: 0 / 0.732 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.2024, allocations: 4.031 kB / 0.732 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.2025, allocations: 23.92 kB / 0.732 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.2025, allocations: 4 kB / 0.732 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.664e-05/0.2026, allocations: 11.97 kB / 0.732 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.2026, allocations: 0 / 0.732 GB, free: 13.26 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.0001033/0.2027, allocations: 113.8 kB / 0.7321 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.2027, allocations: 7.953 kB / 0.7321 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.217e-05/0.2028, allocations: 8 kB / 0.7321 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2028, allocations: 4 kB / 0.7322 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2028, allocations: 0 / 0.7322 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2028, allocations: 0 / 0.7322 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.203, allocations: 144.7 kB / 0.7323 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.203, allocations: 0 / 0.7323 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.2031, allocations: 15.98 kB / 0.7323 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2031, allocations: 0 / 0.7323 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.2031, allocations: 0 / 0.7323 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2031, allocations: 0 / 0.7323 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2031, allocations: 0 / 0.7323 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003901/0.2035, allocations: 207.3 kB / 0.7325 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.282e-05/0.2035, allocations: 7.891 kB / 0.7325 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.2035, allocations: 0 / 0.7325 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.2036, allocations: 11.98 kB / 0.7325 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.2037, allocations: 7.984 kB / 0.7325 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.2037, allocations: 7.938 kB / 0.7325 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.136e-05/0.2037, allocations: 83.28 kB / 0.7326 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2037, allocations: 0 / 0.7326 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002223/0.2039, allocations: 8 kB / 0.7326 GB, free: 12.57 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.0007508/0.2047, allocations: 0.728 MB / 0.7333 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003703/0.2051, allocations: 75.86 kB / 0.7334 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2051, allocations: 0 / 0.7334 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.2052, allocations: 43.89 kB / 0.7334 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.2056, allocations: 5.094 kB / 0.7335 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005586/0.2061, allocations: 159.1 kB / 0.7336 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.2065, allocations: 0.6807 MB / 0.7343 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.463e-05/0.2065, allocations: 4 kB / 0.7343 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.618e-05/0.2066, allocations: 15.44 kB / 0.7343 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.2066, allocations: 0 / 0.7343 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0313/0.2379, allocations: 1.741 MB / 0.736 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.2, allocations: 6.125 kB / 0.736 GB, free: 9.164 MB / 0.5606 GB " [Timeout remaining time 649] (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: 14.899245579959825] Failed to read output from testmodel.py, exit status != 0: 11.302374723134562 11.333590469 11.129994996 Calling exit ...