Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 108.8 kB / 17.07 MB, free: 6 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 191.8 kB / 20.02 MB, free: 3.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.085/1.085, allocations: 147.6 MB / 445.5 MB, free: 8.352 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 70 kB / 0.6109 GB, free: 37.73 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1677, allocations: 83.15 MB / 0.6921 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001919/0.1697, allocations: 0.5684 MB / 0.6927 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 5.59e-05/0.1698, allocations: 9.312 kB / 0.6927 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.852e-05/0.1698, allocations: 0 / 0.6927 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.936e-05/0.1698, allocations: 0 / 0.6927 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.138e-05/0.1699, allocations: 0 / 0.6927 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 3.673e-05/0.1699, allocations: 1.625 kB / 0.6927 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.652e-05/0.17, allocations: 0 / 0.6927 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.156e-05/0.17, allocations: 5.594 kB / 0.6927 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.858e-05/0.1701, allocations: 1.281 kB / 0.6927 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.274e-05/0.1701, allocations: 0 / 0.6927 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.1701, allocations: 1.188 kB / 0.6927 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.313e-06/0.1701, allocations: 0 / 0.6927 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.1702, allocations: 0 / 0.6927 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.838e-05/0.1702, allocations: 9.016 kB / 0.6927 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 6.739e-05/0.1703, allocations: 9.047 kB / 0.6927 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1703, allocations: 0 / 0.6927 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.794e-06/0.1703, allocations: 0 / 0.6927 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.1703, allocations: 1.094 kB / 0.6927 GB, free: 12.89 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004161/0.1707, allocations: 309.9 kB / 0.693 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.1708, allocations: 9.969 kB / 0.693 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.825e-05/0.1708, allocations: 34.75 kB / 0.6931 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.015e-05/0.1708, allocations: 1.906 kB / 0.6931 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.171, allocations: 169.5 kB / 0.6932 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.171, allocations: 4.312 kB / 0.6932 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.171, allocations: 1.5 kB / 0.6932 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.09e-05/0.1711, allocations: 31.73 kB / 0.6933 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.1711, allocations: 7.938 kB / 0.6933 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.1712, allocations: 1.406 kB / 0.6933 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1712, allocations: 0 / 0.6933 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.624e-05/0.1712, allocations: 1.375 kB / 0.6933 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003702/0.1716, allocations: 378.1 kB / 0.6936 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.635e-05/0.1717, allocations: 174.4 kB / 0.6938 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.458e-05/0.1717, allocations: 84.14 kB / 0.6939 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.372e-05/0.1718, allocations: 76.5 kB / 0.694 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.068e-05/0.1718, allocations: 107 kB / 0.6941 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.163e-06/0.1718, allocations: 0 / 0.6941 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 7.361e-05/0.1719, allocations: 30.77 kB / 0.6941 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.998e-05/0.172, allocations: 130.7 kB / 0.6942 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.1721, allocations: 100.8 kB / 0.6943 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.1721, allocations: 30.86 kB / 0.6943 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.1722, allocations: 80.14 kB / 0.6944 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-06/0.1722, allocations: 0 / 0.6944 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.258e-05/0.1722, allocations: 10.97 kB / 0.6944 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.1724, allocations: 316.1 kB / 0.6947 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.588e-06/0.1724, allocations: 0 / 0.6947 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.278e-06/0.1724, allocations: 1.344 kB / 0.6947 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.641e-05/0.1724, allocations: 79.41 kB / 0.6948 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.473e-05/0.1725, allocations: 79.22 kB / 0.6949 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.191e-05/0.1725, allocations: 32.44 kB / 0.6949 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.6e-05/0.1726, allocations: 86.91 kB / 0.695 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.671e-05/0.1726, allocations: 75.31 kB / 0.6951 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.174e-05/0.1727, allocations: 155.8 kB / 0.6952 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.256e-05/0.1728, allocations: 80.69 kB / 0.6953 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.579e-05/0.1728, allocations: 154.6 kB / 0.6954 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.636e-05/0.1729, allocations: 80.69 kB / 0.6955 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.851e-05/0.173, allocations: 80.59 kB / 0.6956 GB, free: 9.758 MB / 0.5137 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 (0): * Single equations (assignments): 0 * 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.0001613/0.1731, allocations: 267 kB / 0.6958 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.993e-05/0.1732, allocations: 106.2 kB / 0.6959 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.402e-05/0.1733, allocations: 113.3 kB / 0.6961 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.482e-05/0.1734, allocations: 176.3 kB / 0.6962 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001204/0.1735, allocations: 185.5 kB / 0.6964 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.254e-05/0.1736, allocations: 181.5 kB / 0.6966 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003066/0.1739, allocations: 398.6 kB / 0.697 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.235e-05/0.174, allocations: 110.2 kB / 0.6971 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.318e-05/0.174, allocations: 106.3 kB / 0.6972 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001126/0.1742, allocations: 188.1 kB / 0.6973 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.475e-05/0.1743, allocations: 177.5 kB / 0.6975 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.964e-05/0.1744, allocations: 181.7 kB / 0.6977 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-05/0.1745, allocations: 185.8 kB / 0.6979 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.1747, allocations: 315.1 kB / 0.6982 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.882e-05/0.1748, allocations: 179.4 kB / 0.6983 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.115e-05/0.1748, allocations: 177.8 kB / 0.6985 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.111e-05/0.1749, allocations: 112.9 kB / 0.6986 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.699e-05/0.175, allocations: 185.5 kB / 0.6988 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.145e-05/0.1751, allocations: 110.2 kB / 0.6989 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.594e-05/0.1751, allocations: 81.34 kB / 0.699 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.1751, allocations: 0 / 0.699 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002456/0.1754, allocations: 1.125 kB / 0.699 GB, free: 6.102 MB / 0.5137 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 (0): * Single equations (assignments): 0 * 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.0005402/0.1759, allocations: 0.8093 MB / 0.6998 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 4.689e-05/0.176, allocations: 3.938 kB / 0.6998 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.176, allocations: 1.406 kB / 0.6998 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.176, allocations: 0 / 0.6998 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.1764, allocations: 454.4 kB / 0.7002 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.1777, allocations: 1.532 MB / 0.7017 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.178, allocations: 0.6701 MB / 0.7023 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.354e-06/0.178, allocations: 0 / 0.7023 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.291e-05/0.1781, allocations: 11.42 kB / 0.7024 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of SimCode: time 2.9e-07/0.1781, allocations: 1.156 kB / 0.7024 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02248/0.2006, allocations: 0.9091 MB / 0.7032 GB, free: 2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.921/8.121, allocations: 7.859 kB / 0.7033 GB, free: 1.996 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Constant_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_Sources_Validation_Constant.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.06059978203848] Failed to read output from testmodel.py, exit status != 0: 8.486460852902383 8.201578591 8.028607469 Calling exit ...