Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.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.001316/0.001316, allocations: 103.5 kB / 17.07 MB, free: 6.016 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.001362/0.001362, allocations: 191.8 kB / 20.02 MB, free: 3.082 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.431/1.431, allocations: 222.9 MB / 245.7 MB, free: 4.211 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.082/1.082, allocations: 147.6 MB / 445.5 MB, free: 8.414 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.Validation.Cos,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 64.98 kB / 0.611 GB, free: 37.67 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1477, allocations: 83.15 MB / 0.6922 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Cos): time 0.00181/0.1496, allocations: 0.6537 MB / 0.6928 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009696/0.1505, allocations: 0.803 MB / 0.6936 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.618e-05/0.1506, allocations: 0 / 0.6936 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.731e-05/0.1506, allocations: 3.984 kB / 0.6936 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.293e-05/0.1507, allocations: 7.875 kB / 0.6936 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001388/0.1509, allocations: 11.97 kB / 0.6936 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.108e-05/0.1509, allocations: 27.27 kB / 0.6936 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.151, allocations: 11.89 kB / 0.6936 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.741e-05/0.1511, allocations: 11.61 kB / 0.6936 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.732e-05/0.1512, allocations: 14.58 kB / 0.6937 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.1512, allocations: 2.688 kB / 0.6937 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.049e-05/0.1512, allocations: 0 / 0.6937 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.1512, allocations: 2.719 kB / 0.6937 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.078e-05/0.1512, allocations: 7.938 kB / 0.6937 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 8.993e-05/0.1513, allocations: 21.55 kB / 0.6937 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1514, allocations: 4 kB / 0.6937 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.134e-06/0.1514, allocations: 0 / 0.6937 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.1514, allocations: 0 / 0.6937 GB, free: 12.13 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005639/0.1519, allocations: 334.8 kB / 0.694 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.152, allocations: 13.62 kB / 0.694 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.966e-05/0.152, allocations: 36.27 kB / 0.6941 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.855e-05/0.1521, allocations: 9.953 kB / 0.6941 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.1523, allocations: 161.7 kB / 0.6942 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.1523, allocations: 1.062 kB / 0.6942 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.1523, allocations: 9.406 kB / 0.6942 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.1525, allocations: 54.09 kB / 0.6943 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1525, allocations: 3.938 kB / 0.6943 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.1525, allocations: 4 kB / 0.6943 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1525, allocations: 1.312 kB / 0.6943 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.1527, allocations: 34.14 kB / 0.6943 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/0.1531, allocations: 248.2 kB / 0.6946 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.1533, allocations: 40.25 kB / 0.6946 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.039e-05/0.1534, allocations: 18.25 kB / 0.6946 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.1534, allocations: 3.984 kB / 0.6946 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.1534, allocations: 31.66 kB / 0.6947 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.1534, allocations: 4 kB / 0.6947 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003805/0.1538, allocations: 89.12 kB / 0.6947 GB, free: 11 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.1539, allocations: 51.41 kB / 0.6948 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.154, allocations: 99.42 kB / 0.6949 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.154, allocations: 25.7 kB / 0.6949 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.599e-05/0.1541, allocations: 81.36 kB / 0.695 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.1541, allocations: 9.297 kB / 0.695 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/0.1542, allocations: 19.95 kB / 0.695 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.1544, allocations: 312.1 kB / 0.6953 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.734e-05/0.1544, allocations: 16.89 kB / 0.6953 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.519e-05/0.1545, allocations: 13.8 kB / 0.6953 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.1547, allocations: 47.25 kB / 0.6954 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.1547, allocations: 3.938 kB / 0.6954 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002041/0.1549, allocations: 68.56 kB / 0.6955 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1549, allocations: 4.812 kB / 0.6955 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.155, allocations: 5.281 kB / 0.6955 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.155, allocations: 0 / 0.6955 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.26e-05/0.1551, allocations: 6.281 kB / 0.6955 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1551, allocations: 4.031 kB / 0.6955 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.143e-05/0.1551, allocations: 12.11 kB / 0.6955 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.1552, allocations: 5.828 kB / 0.6955 GB, free: 10.26 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 (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.0001061/0.1553, allocations: 111.1 kB / 0.6956 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.063e-05/0.1553, allocations: 3.938 kB / 0.6956 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002432/0.1555, allocations: 79.3 kB / 0.6957 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1556, allocations: 4.031 kB / 0.6957 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.1556, allocations: 1.969 kB / 0.6957 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1556, allocations: 0 / 0.6957 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/0.1558, allocations: 161.3 kB / 0.6958 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-06/0.1558, allocations: 0 / 0.6958 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.658e-05/0.1559, allocations: 9.953 kB / 0.6959 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.1559, allocations: 1.906 kB / 0.6959 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.1559, allocations: 0 / 0.6959 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1559, allocations: 0 / 0.6959 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1559, allocations: 0 / 0.6959 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.1562, allocations: 171.8 kB / 0.696 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.706e-05/0.1562, allocations: 77.11 kB / 0.6961 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.1562, allocations: 5.438 kB / 0.6961 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.635e-05/0.1563, allocations: 6.953 kB / 0.6961 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.1564, allocations: 0.9688 kB / 0.6961 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.1564, allocations: 1.156 kB / 0.6961 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.987e-05/0.1564, allocations: 91.53 kB / 0.6962 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1564, allocations: 0 / 0.6962 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002104/0.1567, allocations: 7.969 kB / 0.6962 GB, free: 9.516 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 (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.0006279/0.1573, allocations: 0.6935 MB / 0.6969 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000204/0.1575, allocations: 36.84 kB / 0.6969 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1575, allocations: 0 / 0.6969 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.119e-05/0.1576, allocations: 19.34 kB / 0.6969 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.1579, allocations: 6.938 kB / 0.6969 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004044/0.1583, allocations: 132.1 kB / 0.6971 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.1587, allocations: 0.6806 MB / 0.6977 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.019e-05/0.1587, allocations: 1.438 kB / 0.6977 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.093e-05/0.1587, allocations: 7.438 kB / 0.6977 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1587, allocations: 1.469 kB / 0.6977 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02194/0.1807, allocations: 1.25 MB / 0.699 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.803/7.983, allocations: 7.031 kB / 0.699 GB, free: 7.219 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos_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_Cos.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.85462366999127] Failed to read output from testmodel.py, exit status != 0: 8.346410915954039 8.062446756 7.908365707 Calling exit ...