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.001994/0.001994, allocations: 111.3 kB / 17.12 MB, free: 5.926 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.002439/0.002439, allocations: 204 kB / 20.09 MB, free: 2.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.537/1.537, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.9895/0.9895, allocations: 150 MB / 459.5 MB, free: 5.297 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.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.002041/0.002041, allocations: 74.45 kB / 0.6362 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1977, allocations: 89.13 MB / 0.7232 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001871/0.1995, allocations: 0.6574 MB / 0.7239 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.2006, allocations: 0.8514 MB / 0.7247 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.002e-05/0.2006, allocations: 0 / 0.7247 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.69e-05/0.2006, allocations: 11.88 kB / 0.7247 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.643e-05/0.2007, allocations: 4 kB / 0.7247 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.2008, allocations: 11.92 kB / 0.7247 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.945e-05/0.2009, allocations: 27.88 kB / 0.7247 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.905e-05/0.201, allocations: 7.969 kB / 0.7248 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.413e-05/0.2011, allocations: 8 kB / 0.7248 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.663e-05/0.2011, allocations: 15.92 kB / 0.7248 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.2011, allocations: 4 kB / 0.7248 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.343e-05/0.2012, allocations: 4 kB / 0.7248 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.2012, allocations: 4 kB / 0.7248 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.925e-05/0.2012, allocations: 3.938 kB / 0.7248 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.2013, allocations: 40.16 kB / 0.7248 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2013, allocations: 0 / 0.7248 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.482e-06/0.2013, allocations: 0 / 0.7248 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.2013, allocations: 0 / 0.7248 GB, free: 2.309 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.0004697/0.2018, allocations: 343.4 kB / 0.7252 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.2018, allocations: 8.031 kB / 0.7252 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.787e-05/0.2019, allocations: 30.75 kB / 0.7252 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.556e-05/0.2019, allocations: 4.938 kB / 0.7252 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.2021, allocations: 172.3 kB / 0.7254 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.2021, allocations: 384 / 0.7254 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.2021, allocations: 4.375 kB / 0.7254 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.2023, allocations: 50.19 kB / 0.7254 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.2023, allocations: 7.922 kB / 0.7254 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.2023, allocations: 3.984 kB / 0.7254 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.2023, allocations: 0 / 0.7254 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.2025, allocations: 27.97 kB / 0.7255 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.2028, allocations: 248.9 kB / 0.7257 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.203, allocations: 46.47 kB / 0.7257 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.971e-05/0.203, allocations: 24.91 kB / 0.7258 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.2031, allocations: 0 / 0.7258 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.2031, allocations: 34.56 kB / 0.7258 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.2031, allocations: 0 / 0.7258 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003668/0.2035, allocations: 81.64 kB / 0.7259 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.2035, allocations: 51.41 kB / 0.7259 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.159e-05/0.2036, allocations: 97.84 kB / 0.726 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.2036, allocations: 37.64 kB / 0.726 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.535e-05/0.2037, allocations: 86.16 kB / 0.7261 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.2037, allocations: 3.953 kB / 0.7261 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.2037, allocations: 13.72 kB / 0.7261 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.2039, allocations: 318.8 kB / 0.7264 GB, free: 428 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.609e-05/0.2039, allocations: 11.98 kB / 0.7265 GB, free: 416 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.735e-05/0.204, allocations: 23.92 kB / 0.7265 GB, free: 392 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.2042, allocations: 36.89 kB / 0.7265 GB, free: 352 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.2042, allocations: 3.938 kB / 0.7265 GB, free: 348 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002002/0.2044, allocations: 65.66 kB / 0.7266 GB, free: 276 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.2044, allocations: 4 kB / 0.7266 GB, free: 272 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.2044, allocations: 0 / 0.7266 GB, free: 272 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.2044, allocations: 4 kB / 0.7266 GB, free: 268 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.271e-05/0.2045, allocations: 15.95 kB / 0.7266 GB, free: 252 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.2045, allocations: 4 kB / 0.7266 GB, free: 248 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.234e-05/0.2046, allocations: 15.88 kB / 0.7266 GB, free: 232 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.2046, allocations: 0 / 0.7266 GB, free: 232 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.094e-05/0.2047, allocations: 117.8 kB / 0.7267 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.25e-05/0.2047, allocations: 0 / 0.7267 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002628/0.205, allocations: 68.78 kB / 0.7268 GB, free: 32 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.205, allocations: 4 kB / 0.7268 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.205, allocations: 0 / 0.7268 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.205, allocations: 0 / 0.7268 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.2052, allocations: 161.6 kB / 0.727 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2052, allocations: 0 / 0.727 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.975e-05/0.2052, allocations: 7.984 kB / 0.727 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2052, allocations: 4 kB / 0.727 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.2052, allocations: 3.938 kB / 0.727 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2052, allocations: 0 / 0.727 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2052, allocations: 0 / 0.727 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.2055, allocations: 167.5 kB / 0.7271 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/0.2055, allocations: 77.11 kB / 0.7272 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.2055, allocations: 0 / 0.7272 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.106e-05/0.2056, allocations: 7.984 kB / 0.7272 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/0.2057, allocations: 8 kB / 0.7272 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.2057, allocations: 4.031 kB / 0.7272 GB, free: 15.51 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.157e-05/0.2057, allocations: 79.28 kB / 0.7273 GB, free: 15.43 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2057, allocations: 0 / 0.7273 GB, free: 15.43 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000225/0.2059, allocations: 4 kB / 0.7273 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.0006327/0.2066, allocations: 0.7045 MB / 0.728 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002153/0.2068, allocations: 31.97 kB / 0.728 GB, free: 14.66 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2068, allocations: 0 / 0.728 GB, free: 14.66 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.111e-05/0.2069, allocations: 19.98 kB / 0.728 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.0002938/0.2072, allocations: 5.547 kB / 0.7281 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004342/0.2076, allocations: 151.7 kB / 0.7282 GB, free: 14.45 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.2079, allocations: 0.6729 MB / 0.7289 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.62e-05/0.208, allocations: 7.984 kB / 0.7289 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/0.208, allocations: 11.44 kB / 0.7289 GB, free: 13.73 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.208, allocations: 0 / 0.7289 GB, free: 13.73 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02541/0.2334, allocations: 1.275 MB / 0.7301 GB, free: 12.55 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.197/8.431, allocations: 8.516 kB / 0.7301 GB, free: 12.54 MB / 0.545 GB " [Timeout remaining time 652] (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: 12.4932801281102] Failed to read output from testmodel.py, exit status != 0: 8.500973701942712 8.517370115 8.313068077 Calling exit ...