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.001404/0.001404, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001548/0.001548, allocations: 211 kB / 22.99 MB, free: 4.609 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.54/1.54, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.037/1.037, allocations: 149.9 MB / 463.1 MB, free: 10.36 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.002241/0.002241, allocations: 74.69 kB / 0.6411 GB, free: 10.1 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1867, allocations: 89.17 MB / 0.7282 GB, free: 1.008 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Average): time 0.002564/0.1893, allocations: 0.6712 MB / 0.7289 GB, free: 344 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.1906, allocations: 0.8199 MB / 0.7297 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.642e-05/0.1906, allocations: 0 / 0.7297 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.117e-05/0.1906, allocations: 7.922 kB / 0.7297 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.209e-05/0.1907, allocations: 7.938 kB / 0.7297 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 7.467e-05/0.1908, allocations: 19.92 kB / 0.7297 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.1909, allocations: 39.86 kB / 0.7297 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.191, allocations: 11.98 kB / 0.7297 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.817e-05/0.1911, allocations: 19.92 kB / 0.7298 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.143e-05/0.1912, allocations: 15.92 kB / 0.7298 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.1912, allocations: 4 kB / 0.7298 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.157e-05/0.1912, allocations: 4 kB / 0.7298 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.893e-05/0.1912, allocations: 7.984 kB / 0.7298 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.784e-05/0.1913, allocations: 15.92 kB / 0.7298 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.1914, allocations: 48.03 kB / 0.7299 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1914, allocations: 0 / 0.7299 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1914, allocations: 4 kB / 0.7299 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.1914, allocations: 0 / 0.7299 GB, free: 15.3 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.0006729/0.1921, allocations: 294.2 kB / 0.7301 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.1921, allocations: 8.031 kB / 0.7302 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.92e-05/0.1921, allocations: 38.62 kB / 0.7302 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.515e-05/0.1922, allocations: 4.938 kB / 0.7302 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.1923, allocations: 118.4 kB / 0.7303 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.1923, allocations: 384 / 0.7303 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.1923, allocations: 384 / 0.7303 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/0.1926, allocations: 74.22 kB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.1926, allocations: 7.922 kB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.1926, allocations: 0 / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1926, allocations: 0 / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002958/0.1929, allocations: 63.94 kB / 0.7304 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004077/0.1933, allocations: 243.9 kB / 0.7307 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.1935, allocations: 50.55 kB / 0.7307 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.1937, allocations: 40.91 kB / 0.7308 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.1937, allocations: 0 / 0.7308 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.1937, allocations: 30.56 kB / 0.7308 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.1937, allocations: 0 / 0.7308 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005389/0.1943, allocations: 137.5 kB / 0.7309 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.1943, allocations: 51.41 kB / 0.731 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.792e-05/0.1944, allocations: 117.8 kB / 0.7311 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.1944, allocations: 25.7 kB / 0.7311 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.1945, allocations: 84.14 kB / 0.7312 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.1945, allocations: 7.953 kB / 0.7312 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.1946, allocations: 13.72 kB / 0.7312 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1947, allocations: 322.8 kB / 0.7315 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.1948, allocations: 27.97 kB / 0.7315 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.195, allocations: 36.14 kB / 0.7316 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.1953, allocations: 72.75 kB / 0.7317 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1953, allocations: 4 kB / 0.7317 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003269/0.1956, allocations: 101.6 kB / 0.7318 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.1956, allocations: 8 kB / 0.7318 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.1956, allocations: 3.938 kB / 0.7318 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1956, allocations: 0 / 0.7318 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.1958, allocations: 15.98 kB / 0.7318 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.1958, allocations: 4 kB / 0.7318 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.475e-05/0.1958, allocations: 7.984 kB / 0.7318 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.1958, allocations: 4 kB / 0.7318 GB, free: 13.12 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.93e-05/0.1959, allocations: 113.8 kB / 0.7319 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.196, allocations: 11.94 kB / 0.7319 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.984e-05/0.196, allocations: 4 kB / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.196, allocations: 0 / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.196, allocations: 0 / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.196, allocations: 0 / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.1962, allocations: 144.6 kB / 0.7321 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1962, allocations: 4 kB / 0.7321 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.686e-05/0.1963, allocations: 15.92 kB / 0.7321 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.1963, allocations: 3.984 kB / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.1963, allocations: 0 / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1963, allocations: 0 / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1963, allocations: 4 kB / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000414/0.1967, allocations: 195.4 kB / 0.7323 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.246e-05/0.1967, allocations: 7.891 kB / 0.7323 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.1968, allocations: 4 kB / 0.7323 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.1969, allocations: 11.97 kB / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.1969, allocations: 4 kB / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.1969, allocations: 4 kB / 0.7323 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.247e-05/0.197, allocations: 91.27 kB / 0.7324 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.197, allocations: 0 / 0.7324 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002515/0.1972, allocations: 4 kB / 0.7324 GB, free: 12.44 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.0007631/0.198, allocations: 0.7344 MB / 0.7331 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003433/0.1983, allocations: 71.92 kB / 0.7332 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1983, allocations: 0 / 0.7332 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.1985, allocations: 39.91 kB / 0.7332 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.1989, allocations: 4 kB / 0.7332 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004892/0.1994, allocations: 155.1 kB / 0.7334 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.775e-05/0.1994, allocations: 71.23 kB / 0.7334 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.113e-05/0.1995, allocations: 11.98 kB / 0.7334 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.898e-05/0.1995, allocations: 11.77 kB / 0.7335 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.1995, allocations: 0 / 0.7335 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/0.2291, allocations: 2.184 MB / 0.7356 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.29, allocations: 7.969 kB / 0.7356 GB, free: 9.215 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: 15.222548665013164] Failed to read output from testmodel.py, exit status != 0: 11.403829438611865 11.43049445 11.234257709 Calling exit ...