Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sin.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.001405/0.001405, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001712/0.001712, allocations: 209 kB / 22.99 MB, free: 4.977 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.9581/0.9581, allocations: 149.9 MB / 463 MB, free: 10.37 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.Sin,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sin",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.002096/0.002096, allocations: 69.25 kB / 0.6411 GB, free: 10.08 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1881, allocations: 89.16 MB / 0.7282 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002145/0.1902, allocations: 0.6539 MB / 0.7288 GB, free: 348 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001481/0.1917, allocations: 0.8432 MB / 0.7297 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.385e-05/0.1918, allocations: 0 / 0.7297 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.701e-05/0.1918, allocations: 0 / 0.7297 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.627e-05/0.1919, allocations: 7.938 kB / 0.7297 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.1921, allocations: 7.984 kB / 0.7297 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.074e-05/0.1921, allocations: 27.88 kB / 0.7297 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.1922, allocations: 7.969 kB / 0.7297 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.699e-05/0.1923, allocations: 8 kB / 0.7297 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.074e-05/0.1923, allocations: 19.92 kB / 0.7297 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.1924, allocations: 4 kB / 0.7297 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.066e-05/0.1924, allocations: 4 kB / 0.7297 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.318e-05/0.1924, allocations: 0 / 0.7297 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.297e-05/0.1924, allocations: 7.938 kB / 0.7298 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.1926, allocations: 40.09 kB / 0.7298 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1926, allocations: 0 / 0.7298 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1926, allocations: 0 / 0.7298 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.1926, allocations: 0 / 0.7298 GB, free: 15.35 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004778/0.193, allocations: 262.3 kB / 0.73 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.1931, allocations: 12.03 kB / 0.7301 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.521e-05/0.1931, allocations: 34.75 kB / 0.7301 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.942e-05/0.1932, allocations: 0.9375 kB / 0.7301 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.1933, allocations: 114.5 kB / 0.7302 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.1933, allocations: 4.312 kB / 0.7302 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.1933, allocations: 384 / 0.7302 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.1935, allocations: 50.23 kB / 0.7302 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.1935, allocations: 3.938 kB / 0.7302 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.1935, allocations: 0 / 0.7302 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1935, allocations: 3.938 kB / 0.7303 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001638/0.1937, allocations: 43.89 kB / 0.7303 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003461/0.1941, allocations: 208 kB / 0.7305 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.1942, allocations: 42.53 kB / 0.7305 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.69e-05/0.1943, allocations: 20.91 kB / 0.7306 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.1943, allocations: 0 / 0.7306 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.1943, allocations: 34.56 kB / 0.7306 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.1943, allocations: 0 / 0.7306 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.00044/0.1948, allocations: 85.58 kB / 0.7307 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.1948, allocations: 51.41 kB / 0.7307 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.195, allocations: 106 kB / 0.7308 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.1951, allocations: 25.7 kB / 0.7308 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.907e-05/0.1951, allocations: 84.08 kB / 0.7309 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.1951, allocations: 7.953 kB / 0.7309 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.023e-05/0.1952, allocations: 13.72 kB / 0.7309 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1953, allocations: 315 kB / 0.7312 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.1955, allocations: 19.98 kB / 0.7313 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.923e-05/0.1955, allocations: 15.98 kB / 0.7313 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.1957, allocations: 40.77 kB / 0.7313 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.1957, allocations: 3.938 kB / 0.7313 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001939/0.1959, allocations: 69.72 kB / 0.7314 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1959, allocations: 10.5 kB / 0.7314 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1959, allocations: 48 / 0.7314 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1959, allocations: 3.984 kB / 0.7314 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.668e-05/0.196, allocations: 7.984 kB / 0.7314 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.196, allocations: 7.984 kB / 0.7314 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.884e-05/0.1961, allocations: 7.938 kB / 0.7314 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.1961, allocations: 4 kB / 0.7314 GB, free: 13.48 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 (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 0.0001347/0.1962, allocations: 109.8 kB / 0.7315 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.1962, allocations: 4.031 kB / 0.7315 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.1965, allocations: 76.91 kB / 0.7316 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1965, allocations: 3.938 kB / 0.7316 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1965, allocations: 0 / 0.7316 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1965, allocations: 0 / 0.7316 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/0.1967, allocations: 128.7 kB / 0.7317 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1967, allocations: 4 kB / 0.7317 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.593e-05/0.1968, allocations: 7.984 kB / 0.7317 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1968, allocations: 4.031 kB / 0.7318 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.1968, allocations: 4 kB / 0.7318 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1968, allocations: 0 / 0.7318 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1968, allocations: 4 kB / 0.7318 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.197, allocations: 167.4 kB / 0.7319 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.991e-06/0.1971, allocations: 3.938 kB / 0.7319 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.1971, allocations: 0 / 0.7319 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.158e-05/0.1972, allocations: 7.984 kB / 0.7319 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.1972, allocations: 4.031 kB / 0.7319 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.1972, allocations: 4 kB / 0.7319 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.151e-05/0.1973, allocations: 83.27 kB / 0.732 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1973, allocations: 0 / 0.732 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002244/0.1975, allocations: 8 kB / 0.732 GB, free: 12.79 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 (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.0008331/0.1983, allocations: 0.6929 MB / 0.7327 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.1985, allocations: 39.94 kB / 0.7327 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1985, allocations: 0 / 0.7327 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.525e-05/0.1986, allocations: 19.97 kB / 0.7328 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.1989, allocations: 8 kB / 0.7328 GB, free: 12 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004669/0.1994, allocations: 139.8 kB / 0.7329 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.1996, allocations: 59.34 kB / 0.733 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.695e-05/0.1996, allocations: 8.125 kB / 0.733 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.003e-05/0.1997, allocations: 7.438 kB / 0.733 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.1997, allocations: 0 / 0.733 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03147/0.2311, allocations: 1.812 MB / 0.7347 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.57, allocations: 8.906 kB / 0.7347 GB, free: 10.05 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sin.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sin_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sin.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.37641007360071] Failed to read output from testmodel.py, exit status != 0: 11.67774367891252 11.706968736 11.509026497 Calling exit ...