Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.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.001633/0.001633, allocations: 103.2 kB / 17.07 MB, free: 5.965 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.001633/0.001633, allocations: 193.2 kB / 20.03 MB, free: 3.035 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.483/1.483, allocations: 222.9 MB / 245.7 MB, free: 4.203 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.13/1.13, allocations: 147.6 MB / 445.5 MB, free: 8.312 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.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 69.5 kB / 0.6114 GB, free: 37.7 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1487, allocations: 83.16 MB / 0.6926 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002008/0.1508, allocations: 0.6545 MB / 0.6933 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001229/0.152, allocations: 0.8083 MB / 0.6941 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.076e-05/0.1521, allocations: 0 / 0.6941 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.921e-05/0.1521, allocations: 3.938 kB / 0.6941 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.859e-05/0.1522, allocations: 5.125 kB / 0.6941 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.1524, allocations: 13.36 kB / 0.6941 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.781e-05/0.1525, allocations: 25.77 kB / 0.6941 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.1526, allocations: 8.344 kB / 0.6941 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.451e-05/0.1527, allocations: 6.922 kB / 0.6941 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.005e-05/0.1528, allocations: 11.03 kB / 0.6941 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.1528, allocations: 1.281 kB / 0.6941 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.918e-06/0.1528, allocations: 6.812 kB / 0.6941 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.438e-05/0.1528, allocations: 11.97 kB / 0.6941 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.65e-05/0.1529, allocations: 10.75 kB / 0.6942 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 9.198e-05/0.153, allocations: 20.69 kB / 0.6942 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.153, allocations: 0 / 0.6942 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.333e-06/0.153, allocations: 0 / 0.6942 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.153, allocations: 0 / 0.6942 GB, free: 11.82 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.0005239/0.1535, allocations: 334.7 kB / 0.6945 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.1536, allocations: 13.62 kB / 0.6945 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.1e-05/0.1536, allocations: 10.83 kB / 0.6945 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.1538, allocations: 168.3 kB / 0.6947 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.1538, allocations: 2.344 kB / 0.6947 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.1538, allocations: 2.188 kB / 0.6947 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.154, allocations: 48.11 kB / 0.6947 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.154, allocations: 192 / 0.6947 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.154, allocations: 5.844 kB / 0.6947 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.154, allocations: 0 / 0.6947 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.1542, allocations: 37.91 kB / 0.6948 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003575/0.1546, allocations: 240.6 kB / 0.695 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.1547, allocations: 48.03 kB / 0.695 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.196e-05/0.1548, allocations: 22.16 kB / 0.6951 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.1549, allocations: 5.281 kB / 0.6951 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.1549, allocations: 30.56 kB / 0.6951 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.1549, allocations: 1.375 kB / 0.6951 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003893/0.1553, allocations: 83.38 kB / 0.6952 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.1554, allocations: 52.62 kB / 0.6952 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.049e-05/0.1555, allocations: 111.5 kB / 0.6953 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.1555, allocations: 25.7 kB / 0.6954 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.116e-05/0.1556, allocations: 85.8 kB / 0.6954 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.1556, allocations: 3.953 kB / 0.6954 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.1556, allocations: 12.72 kB / 0.6955 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1558, allocations: 314.8 kB / 0.6958 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.643e-05/0.1559, allocations: 18.48 kB / 0.6958 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.561e-05/0.1559, allocations: 16.33 kB / 0.6958 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.1561, allocations: 48.08 kB / 0.6958 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1561, allocations: 0 / 0.6958 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000207/0.1563, allocations: 69.28 kB / 0.6959 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.1564, allocations: 3.562 kB / 0.6959 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1564, allocations: 1.906 kB / 0.6959 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1564, allocations: 4 kB / 0.6959 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.887e-05/0.1565, allocations: 9.609 kB / 0.6959 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.1565, allocations: 0 / 0.6959 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.942e-05/0.1565, allocations: 7.984 kB / 0.6959 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.1566, allocations: 1.562 kB / 0.6959 GB, free: 10 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 8.117e-05/0.1567, allocations: 115 kB / 0.696 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.1567, allocations: 1.469 kB / 0.696 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.1569, allocations: 77.97 kB / 0.6961 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1569, allocations: 1.469 kB / 0.6961 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.157, allocations: 0 / 0.6961 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.157, allocations: 0 / 0.6961 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.1572, allocations: 165.6 kB / 0.6963 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1572, allocations: 1.438 kB / 0.6963 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.086e-05/0.1572, allocations: 9.391 kB / 0.6963 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1572, allocations: 0 / 0.6963 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.1573, allocations: 5.406 kB / 0.6963 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1573, allocations: 4 kB / 0.6963 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1573, allocations: 0 / 0.6963 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/0.1575, allocations: 172.1 kB / 0.6965 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.282e-05/0.1576, allocations: 77.11 kB / 0.6965 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.1576, allocations: 1.375 kB / 0.6965 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.923e-05/0.1577, allocations: 10.77 kB / 0.6965 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.1577, allocations: 1.375 kB / 0.6965 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.1578, allocations: 1.375 kB / 0.6966 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.46e-05/0.1578, allocations: 82.03 kB / 0.6966 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1578, allocations: 1.375 kB / 0.6966 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002138/0.158, allocations: 2.75 kB / 0.6966 GB, free: 9.262 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.0001463/0.1582, allocations: 99.73 kB / 0.6967 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002253/0.1584, allocations: 37.97 kB / 0.6968 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1584, allocations: 0 / 0.6968 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.1e-05/0.1585, allocations: 22.92 kB / 0.6968 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.1588, allocations: 14.61 kB / 0.6968 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003326/0.1592, allocations: 101.4 kB / 0.6969 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.1596, allocations: 0.677 MB / 0.6976 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.285e-05/0.1596, allocations: 0 / 0.6976 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.526e-05/0.1596, allocations: 12.75 kB / 0.6976 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of SimCode: time 3.1e-07/0.1596, allocations: 0 / 0.6976 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of Templates: time 0.002999/0.1626, allocations: 429.5 kB / 0.698 GB, free: 8.094 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.83565274393186] Failed to read output from testmodel.py, exit status != 0: 0.47697628987953067 0.18507771499999995 0.02918391699999994 Calling exit ...