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.001282/0.001282, allocations: 117.3 kB / 17.76 MB, free: 5.348 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.001412/0.001412, allocations: 188.6 kB / 20.69 MB, free: 2.418 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.459/1.459, allocations: 222.9 MB / 246.4 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.112/1.112, allocations: 147.6 MB / 446.2 MB, free: 8.438 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: translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 64.27 kB / 0.6121 GB, free: 37.71 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1362, allocations: 83.16 MB / 0.6933 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001825/0.1381, allocations: 0.6535 MB / 0.6939 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009678/0.139, allocations: 0.8076 MB / 0.6947 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.457e-05/0.1391, allocations: 1.562 kB / 0.6947 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.603e-05/0.1391, allocations: 0 / 0.6947 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.2e-05/0.1392, allocations: 3.938 kB / 0.6947 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001406/0.1393, allocations: 14.98 kB / 0.6947 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.533e-05/0.1394, allocations: 28.5 kB / 0.6948 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1395, allocations: 7.719 kB / 0.6948 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.88e-05/0.1396, allocations: 11.48 kB / 0.6948 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.726e-05/0.1396, allocations: 6.312 kB / 0.6948 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.1397, allocations: 7.375 kB / 0.6948 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.927e-06/0.1397, allocations: 0.9688 kB / 0.6948 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/0.1397, allocations: 9.109 kB / 0.6948 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/0.1397, allocations: 9.594 kB / 0.6948 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 8.08e-05/0.1398, allocations: 24.98 kB / 0.6948 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1398, allocations: 0 / 0.6948 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1398, allocations: 0 / 0.6948 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.1398, allocations: 1.375 kB / 0.6948 GB, free: 11.84 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.0004648/0.1403, allocations: 331.5 kB / 0.6952 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.1403, allocations: 14.88 kB / 0.6952 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.496e-05/0.1404, allocations: 4.891 kB / 0.6952 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.1405, allocations: 173.6 kB / 0.6953 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.1406, allocations: 1.781 kB / 0.6953 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.1406, allocations: 1.531 kB / 0.6954 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.1407, allocations: 49.2 kB / 0.6954 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1408, allocations: 5.625 kB / 0.6954 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1408, allocations: 3.938 kB / 0.6954 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.1408, allocations: 0 / 0.6954 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.141, allocations: 39.22 kB / 0.6954 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003482/0.1413, allocations: 244.2 kB / 0.6957 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.1415, allocations: 43.03 kB / 0.6957 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.072e-05/0.1416, allocations: 27.59 kB / 0.6957 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.1416, allocations: 0 / 0.6957 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.1416, allocations: 32.38 kB / 0.6958 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.1416, allocations: 0 / 0.6958 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003478/0.142, allocations: 87.66 kB / 0.6959 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.142, allocations: 52.69 kB / 0.6959 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.093e-05/0.1421, allocations: 103 kB / 0.696 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.1422, allocations: 25.7 kB / 0.696 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.838e-05/0.1422, allocations: 85.64 kB / 0.6961 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.1422, allocations: 3.953 kB / 0.6961 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.1423, allocations: 14.44 kB / 0.6961 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1424, allocations: 318.8 kB / 0.6964 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.994e-05/0.1425, allocations: 12.39 kB / 0.6964 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.311e-05/0.1426, allocations: 22.05 kB / 0.6965 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.1427, allocations: 39.11 kB / 0.6965 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1428, allocations: 0 / 0.6965 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001936/0.143, allocations: 67.97 kB / 0.6966 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.143, allocations: 5.5 kB / 0.6966 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.143, allocations: 8.094 kB / 0.6966 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.143, allocations: 1.375 kB / 0.6966 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.389e-05/0.1431, allocations: 9.484 kB / 0.6966 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.1431, allocations: 0 / 0.6966 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.715e-05/0.1432, allocations: 8.109 kB / 0.6966 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.1432, allocations: 1.375 kB / 0.6966 GB, free: 10.02 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 7.661e-05/0.1433, allocations: 116.7 kB / 0.6967 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.1433, allocations: 1.375 kB / 0.6967 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.1435, allocations: 78.66 kB / 0.6968 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1435, allocations: 0 / 0.6968 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1435, allocations: 0 / 0.6968 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1435, allocations: 1.562 kB / 0.6968 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.1437, allocations: 161.7 kB / 0.6969 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1437, allocations: 0 / 0.6969 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.795e-05/0.1438, allocations: 9.484 kB / 0.697 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1438, allocations: 5.359 kB / 0.697 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.1438, allocations: 4.031 kB / 0.697 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1438, allocations: 1.375 kB / 0.697 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1438, allocations: 3.938 kB / 0.697 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.1441, allocations: 170.7 kB / 0.6971 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.397e-05/0.1441, allocations: 78.48 kB / 0.6972 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.1442, allocations: 0 / 0.6972 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.609e-05/0.1442, allocations: 12.14 kB / 0.6972 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.1443, allocations: 1.375 kB / 0.6972 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.1443, allocations: 4 kB / 0.6972 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.224e-05/0.1443, allocations: 79.41 kB / 0.6973 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1443, allocations: 0 / 0.6973 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002098/0.1446, allocations: 4.125 kB / 0.6973 GB, free: 9.285 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.0001338/0.1447, allocations: 99.73 kB / 0.6974 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002197/0.1449, allocations: 36.59 kB / 0.6974 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1449, allocations: 1.375 kB / 0.6974 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.611e-05/0.145, allocations: 22.92 kB / 0.6975 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.1453, allocations: 12.55 kB / 0.6975 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003011/0.1456, allocations: 129.8 kB / 0.6976 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.146, allocations: 0.6769 MB / 0.6983 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.774e-05/0.146, allocations: 8.812 kB / 0.6983 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.146, allocations: 0 / 0.6983 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of Templates: time 0.001902/0.1479, allocations: 0.5532 MB / 0.6988 GB, free: 8.027 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.863756019156426] Failed to read output from testmodel.py, exit status != 0: 0.4347186340019107 0.167801778 0.025406082 Calling exit ...