Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Acos.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.00143/0.00143, allocations: 114.2 kB / 17.84 MB, free: 5.312 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.001488/0.001488, allocations: 203.2 kB / 20.8 MB, free: 2.371 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.577/1.577, allocations: 230.6 MB / 254.2 MB, free: 15.06 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.039/1.039, allocations: 150 MB / 460.2 MB, free: 5.277 MB / 350.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.Acos,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Acos",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.001988/0.001988, allocations: 74.16 kB / 0.6369 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1914, allocations: 89.13 MB / 0.7239 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002313/0.1937, allocations: 0.6533 MB / 0.7245 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.1951, allocations: 0.8514 MB / 0.7254 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.439e-05/0.1952, allocations: 0 / 0.7254 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.356e-05/0.1952, allocations: 0 / 0.7254 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.654e-05/0.1953, allocations: 7.938 kB / 0.7254 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.1956, allocations: 19.91 kB / 0.7254 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.1957, allocations: 19.88 kB / 0.7254 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.1958, allocations: 11.98 kB / 0.7254 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.345e-05/0.1959, allocations: 4 kB / 0.7254 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.923e-05/0.196, allocations: 15.92 kB / 0.7254 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.196, allocations: 4 kB / 0.7254 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.349e-05/0.196, allocations: 4 kB / 0.7255 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.885e-05/0.1961, allocations: 4 kB / 0.7255 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.791e-05/0.1961, allocations: 15.92 kB / 0.7255 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.1963, allocations: 32.11 kB / 0.7255 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1963, allocations: 0 / 0.7255 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.395e-06/0.1963, allocations: 0 / 0.7255 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.806e-06/0.1963, allocations: 0 / 0.7255 GB, free: 2.312 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006244/0.1969, allocations: 339.4 kB / 0.7258 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.197, allocations: 16.03 kB / 0.7258 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.495e-05/0.197, allocations: 192 / 0.7258 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.555e-05/0.197, allocations: 30.75 kB / 0.7259 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.949e-05/0.1971, allocations: 4.938 kB / 0.7259 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.1973, allocations: 168.3 kB / 0.726 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.1973, allocations: 4.375 kB / 0.726 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.1973, allocations: 4.375 kB / 0.726 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.1975, allocations: 49.98 kB / 0.7261 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/0.1975, allocations: 4 kB / 0.7261 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.1976, allocations: 4 kB / 0.7261 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1976, allocations: 0 / 0.7261 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001857/0.1977, allocations: 31.91 kB / 0.7261 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003877/0.1981, allocations: 252.8 kB / 0.7264 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.1983, allocations: 38.56 kB / 0.7264 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.1984, allocations: 24.89 kB / 0.7264 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.1984, allocations: 0 / 0.7264 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.1984, allocations: 34.5 kB / 0.7265 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.1984, allocations: 0 / 0.7265 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0004024/0.1988, allocations: 85.73 kB / 0.7265 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.1989, allocations: 51.41 kB / 0.7266 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.78e-05/0.199, allocations: 101.8 kB / 0.7267 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.199, allocations: 25.7 kB / 0.7267 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.1991, allocations: 84.14 kB / 0.7268 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.1991, allocations: 9.844 kB / 0.7268 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.1991, allocations: 13.72 kB / 0.7268 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1993, allocations: 314.8 kB / 0.7271 GB, free: 436 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.021e-05/0.1994, allocations: 20.02 kB / 0.7271 GB, free: 416 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.948e-05/0.1994, allocations: 11.98 kB / 0.7271 GB, free: 404 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.1996, allocations: 56.62 kB / 0.7272 GB, free: 344 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1996, allocations: 0 / 0.7272 GB, free: 344 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002128/0.1998, allocations: 69.73 kB / 0.7273 GB, free: 268 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.1998, allocations: 5.875 kB / 0.7273 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.1999, allocations: 0 / 0.7273 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.1999, allocations: 0 / 0.7273 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.2, allocations: 11.98 kB / 0.7273 GB, free: 252 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.2, allocations: 3.938 kB / 0.7273 GB, free: 248 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.256e-05/0.2, allocations: 11.94 kB / 0.7273 GB, free: 236 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.2, allocations: 0 / 0.7273 GB, free: 236 kB / 0.5294 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 (2): * Single equations (assignments): 2 * 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.771e-05/0.2001, allocations: 117.8 kB / 0.7274 GB, free: 108 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.2002, allocations: 0 / 0.7274 GB, free: 108 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/0.2004, allocations: 72.72 kB / 0.7275 GB, free: 32 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2004, allocations: 0 / 0.7275 GB, free: 32 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.2004, allocations: 4 kB / 0.7275 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2004, allocations: 0 / 0.7275 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.2006, allocations: 161.6 kB / 0.7276 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2006, allocations: 0 / 0.7276 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.583e-05/0.2007, allocations: 12.02 kB / 0.7277 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.2007, allocations: 0 / 0.7277 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.2007, allocations: 4 kB / 0.7277 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.2007, allocations: 0 / 0.7277 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2007, allocations: 0 / 0.7277 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.201, allocations: 167.4 kB / 0.7278 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.818e-05/0.2011, allocations: 81.14 kB / 0.7279 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.2011, allocations: 0 / 0.7279 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.998e-05/0.2012, allocations: 7.984 kB / 0.7279 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.804e-05/0.2012, allocations: 0 / 0.7279 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.2012, allocations: 4 kB / 0.7279 GB, free: 15.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.165e-05/0.2013, allocations: 75.28 kB / 0.728 GB, free: 15.44 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2013, allocations: 0 / 0.728 GB, free: 15.44 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002184/0.2015, allocations: 8 kB / 0.728 GB, free: 15.43 MB / 0.545 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 (2): * Single equations (assignments): 2 * 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.0007441/0.2023, allocations: 0.7046 MB / 0.7287 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002543/0.2025, allocations: 35.91 kB / 0.7287 GB, free: 14.66 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2025, allocations: 4.094 kB / 0.7287 GB, free: 14.66 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.107e-05/0.2026, allocations: 15.98 kB / 0.7287 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.2029, allocations: 7.984 kB / 0.7287 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005359/0.2035, allocations: 147.6 kB / 0.7289 GB, free: 14.45 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.2038, allocations: 0.6806 MB / 0.7295 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.572e-05/0.2038, allocations: 4.062 kB / 0.7295 GB, free: 13.74 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.723e-05/0.2039, allocations: 7.438 kB / 0.7295 GB, free: 13.73 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.2039, allocations: 3.938 kB / 0.7296 GB, free: 13.73 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01803/0.2219, allocations: 1.324 MB / 0.7308 GB, free: 12.53 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.225/8.446, allocations: 14.41 kB / 0.7309 GB, free: 12.52 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Acos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Acos_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Acos.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.597767785016913] Failed to read output from testmodel.py, exit status != 0: 8.570436049019918 8.58691219 8.38748668 Calling exit ...