Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Line.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.001827/0.001827, 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.001899/0.001899, allocations: 216.6 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.556/1.556, 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.094/1.094, allocations: 149.9 MB / 463.1 MB, free: 10.36 MB / 366.1 MB " [Timeout remaining time 178] 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.Line,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Line",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.002276/0.002276, allocations: 66.97 kB / 0.6411 GB, free: 10.11 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.19, allocations: 89.18 MB / 0.7282 GB, free: 1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Line): time 0.002396/0.1924, allocations: 0.8281 MB / 0.729 GB, free: 180 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.1938, allocations: 0.9134 MB / 0.7299 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.102e-05/0.1939, allocations: 3.938 kB / 0.7299 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.468e-05/0.1939, allocations: 7.875 kB / 0.7299 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.374e-05/0.194, allocations: 11.81 kB / 0.7299 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.1942, allocations: 71.84 kB / 0.73 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002471/0.1945, allocations: 131.8 kB / 0.7301 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.1946, allocations: 49.64 kB / 0.7302 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.769e-05/0.1947, allocations: 59.77 kB / 0.7302 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.999e-05/0.1948, allocations: 51.7 kB / 0.7303 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.326e-05/0.1948, allocations: 12 kB / 0.7303 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.772e-05/0.1949, allocations: 16 kB / 0.7303 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.909e-05/0.1949, allocations: 31.84 kB / 0.7303 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.949e-05/0.195, allocations: 47.73 kB / 0.7304 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.1952, allocations: 143.7 kB / 0.7305 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1952, allocations: 0 / 0.7305 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1952, allocations: 0 / 0.7305 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.1952, allocations: 0 / 0.7305 GB, free: 14.62 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006585/0.1958, allocations: 373.8 kB / 0.7309 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.1959, allocations: 8.031 kB / 0.7309 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.312e-05/0.1959, allocations: 46.73 kB / 0.7309 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.302e-05/0.196, allocations: 24.72 kB / 0.731 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.1963, allocations: 154.4 kB / 0.7311 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.1963, allocations: 12.38 kB / 0.7311 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.1963, allocations: 16.38 kB / 0.7311 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003887/0.1967, allocations: 227.2 kB / 0.7313 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.1967, allocations: 3.938 kB / 0.7314 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.1967, allocations: 8 kB / 0.7314 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1967, allocations: 4 kB / 0.7314 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003198/0.197, allocations: 127.9 kB / 0.7315 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007954/0.1978, allocations: 435.3 kB / 0.7319 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.1981, allocations: 86.41 kB / 0.732 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.1982, allocations: 44.83 kB / 0.732 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.1982, allocations: 0 / 0.732 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.1982, allocations: 34.56 kB / 0.7321 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.001e-06/0.1982, allocations: 0 / 0.7321 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0004772/0.1987, allocations: 165.7 kB / 0.7322 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.1988, allocations: 51.41 kB / 0.7323 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.199, allocations: 191.6 kB / 0.7324 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.199, allocations: 29.7 kB / 0.7325 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.443e-05/0.1991, allocations: 116 kB / 0.7326 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.1991, allocations: 35.69 kB / 0.7326 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.583e-05/0.1992, allocations: 25.72 kB / 0.7326 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1993, allocations: 326.8 kB / 0.733 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.1995, allocations: 39.97 kB / 0.733 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.1996, allocations: 51.97 kB / 0.733 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000245/0.1998, allocations: 96.12 kB / 0.7331 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.1998, allocations: 3.938 kB / 0.7331 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003229/0.2002, allocations: 141.5 kB / 0.7333 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.2002, allocations: 8 kB / 0.7333 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.2002, allocations: 0 / 0.7333 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.2002, allocations: 384 / 0.7333 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.2004, allocations: 35.92 kB / 0.7333 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.2004, allocations: 3.984 kB / 0.7333 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.2005, allocations: 23.86 kB / 0.7333 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.2005, allocations: 7.938 kB / 0.7334 GB, free: 11.5 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 (13): * Single equations (assignments): 13 * 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.0001027/0.2006, allocations: 121.8 kB / 0.7335 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.2006, allocations: 15.91 kB / 0.7335 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003618/0.201, allocations: 135 kB / 0.7336 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.201, allocations: 0 / 0.7336 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.201, allocations: 4 kB / 0.7336 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.201, allocations: 0 / 0.7336 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000607/0.2016, allocations: 412 kB / 0.734 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.2016, allocations: 7.984 kB / 0.734 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.2017, allocations: 19.98 kB / 0.734 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2017, allocations: 7.938 kB / 0.734 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.2017, allocations: 0 / 0.734 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.2017, allocations: 8.094 kB / 0.734 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2017, allocations: 0 / 0.734 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003826/0.2021, allocations: 245.9 kB / 0.7343 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.2021, allocations: 19.84 kB / 0.7343 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.2022, allocations: 0 / 0.7343 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.2023, allocations: 23.97 kB / 0.7343 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.051e-05/0.2024, allocations: 15.86 kB / 0.7343 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.2024, allocations: 4 kB / 0.7343 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001297/0.2025, allocations: 144.1 kB / 0.7345 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2025, allocations: 0 / 0.7345 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002543/0.2028, allocations: 20 kB / 0.7345 GB, free: 10.22 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0007057/0.2035, allocations: 0.7737 MB / 0.7353 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002991/0.2038, allocations: 95.83 kB / 0.7353 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2038, allocations: 4 kB / 0.7354 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.2039, allocations: 47.91 kB / 0.7354 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.2042, allocations: 19.94 kB / 0.7354 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/0.2067, allocations: 1.884 MB / 0.7373 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.643e-05/0.2068, allocations: 98.7 kB / 0.7373 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.531e-05/0.2069, allocations: 13.08 kB / 0.7374 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.378e-05/0.2069, allocations: 39.42 kB / 0.7374 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of SimCode: time 3.8e-07/0.2069, allocations: 0 / 0.7374 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02944/0.2364, allocations: 3.397 MB / 0.7407 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.37, allocations: 7.906 kB / 0.7407 GB, free: 3.848 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Line.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Line_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_Line.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.650423627812415] Failed to read output from testmodel.py, exit status != 0: 11.48292378988117 11.512160785 11.311194123 Calling exit ...