Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.001568/0.001568, allocations: 117.4 kB / 17.75 MB, free: 5.293 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.001592/0.001593, allocations: 188.5 kB / 20.69 MB, free: 2.359 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.427/1.427, allocations: 222.9 MB / 246.4 MB, free: 4.336 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.08/1.08, allocations: 147.7 MB / 446.2 MB, free: 8.531 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.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 67.31 kB / 0.612 GB, free: 37.86 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1386, allocations: 83.16 MB / 0.6932 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001807/0.1405, allocations: 0.6018 MB / 0.6938 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.1415, allocations: 0.8239 MB / 0.6946 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.51e-05/0.1415, allocations: 0 / 0.6946 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.518e-05/0.1416, allocations: 4 kB / 0.6946 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.279e-05/0.1416, allocations: 3.938 kB / 0.6946 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001281/0.1418, allocations: 16.23 kB / 0.6946 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.068e-05/0.1419, allocations: 30.42 kB / 0.6947 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.487e-05/0.142, allocations: 3.312 kB / 0.6947 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.92e-05/0.142, allocations: 16.09 kB / 0.6947 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.899e-05/0.1421, allocations: 16.2 kB / 0.6947 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.1421, allocations: 2.312 kB / 0.6947 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.074e-05/0.1421, allocations: 2.375 kB / 0.6947 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.325e-05/0.1421, allocations: 4 kB / 0.6947 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.656e-05/0.1422, allocations: 10.28 kB / 0.6947 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 7.905e-05/0.1422, allocations: 25.53 kB / 0.6948 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1423, allocations: 0 / 0.6948 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1423, allocations: 0 / 0.6948 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.1423, allocations: 1.156 kB / 0.6948 GB, free: 12.01 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.0004917/0.1428, allocations: 331.9 kB / 0.6951 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.1428, allocations: 13.5 kB / 0.6951 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.646e-05/0.1428, allocations: 10.11 kB / 0.6951 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.143, allocations: 178.9 kB / 0.6953 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.143, allocations: 384 / 0.6953 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.1431, allocations: 2.125 kB / 0.6953 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.1432, allocations: 54.34 kB / 0.6953 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.1433, allocations: 192 / 0.6953 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.1433, allocations: 3.938 kB / 0.6953 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1433, allocations: 1.406 kB / 0.6953 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.1435, allocations: 39.64 kB / 0.6954 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003632/0.1438, allocations: 246.1 kB / 0.6956 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.144, allocations: 47.12 kB / 0.6956 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.057e-05/0.1441, allocations: 19.53 kB / 0.6957 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.1441, allocations: 1.781 kB / 0.6957 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.1441, allocations: 42.55 kB / 0.6957 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1441, allocations: 0 / 0.6957 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003685/0.1445, allocations: 91.25 kB / 0.6958 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.1446, allocations: 51.41 kB / 0.6958 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.853e-05/0.1447, allocations: 98.72 kB / 0.6959 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.1447, allocations: 25.83 kB / 0.696 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.453e-05/0.1447, allocations: 89.55 kB / 0.696 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.1448, allocations: 5.453 kB / 0.696 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.1448, allocations: 11.81 kB / 0.6961 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.145, allocations: 317.7 kB / 0.6964 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.681e-05/0.145, allocations: 16.25 kB / 0.6964 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.849e-05/0.1451, allocations: 18.27 kB / 0.6964 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.1453, allocations: 44.62 kB / 0.6964 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1453, allocations: 0 / 0.6964 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002122/0.1455, allocations: 77.59 kB / 0.6965 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.1456, allocations: 5.5 kB / 0.6965 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1456, allocations: 0 / 0.6965 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.1456, allocations: 1.375 kB / 0.6965 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.5e-05/0.1457, allocations: 13.52 kB / 0.6965 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.1457, allocations: 0 / 0.6965 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.19e-05/0.1458, allocations: 4.125 kB / 0.6965 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.1458, allocations: 1.375 kB / 0.6965 GB, free: 10.18 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: 1 (reaToInt.y) * 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 9.48e-05/0.1459, allocations: 115.1 kB / 0.6966 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.1459, allocations: 5.312 kB / 0.6966 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.946e-05/0.1459, allocations: 8.688 kB / 0.6967 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1459, allocations: 3.984 kB / 0.6967 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1459, allocations: 4 kB / 0.6967 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1459, allocations: 1.375 kB / 0.6967 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.1461, allocations: 165.7 kB / 0.6968 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1461, allocations: 4 kB / 0.6968 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.815e-05/0.1462, allocations: 6.875 kB / 0.6968 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.1462, allocations: 0 / 0.6968 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1462, allocations: 5.359 kB / 0.6968 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1462, allocations: 0 / 0.6968 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1462, allocations: 0 / 0.6968 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.1465, allocations: 173.5 kB / 0.697 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-05/0.1466, allocations: 81.06 kB / 0.6971 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.1466, allocations: 1.375 kB / 0.6971 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.53e-05/0.1467, allocations: 8.109 kB / 0.6971 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.1468, allocations: 5.375 kB / 0.6971 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.1468, allocations: 1.375 kB / 0.6971 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.651e-05/0.1468, allocations: 87.42 kB / 0.6972 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1468, allocations: 0 / 0.6972 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002291/0.1471, allocations: 2.75 kB / 0.6972 GB, free: 9.48 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: 1 (reaToInt.y) * 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.0001045/0.1472, allocations: 99.75 kB / 0.6973 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002352/0.1474, allocations: 41.89 kB / 0.6973 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1474, allocations: 1.375 kB / 0.6973 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.571e-05/0.1475, allocations: 24.42 kB / 0.6973 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.1478, allocations: 10.67 kB / 0.6974 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/0.1481, allocations: 127.8 kB / 0.6975 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.1484, allocations: 0.673 MB / 0.6981 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.1485, allocations: 12.8 kB / 0.6981 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1485, allocations: 0 / 0.6981 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of Templates: time 0.001916/0.1504, allocations: 0.5942 MB / 0.6987 GB, free: 8.211 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.915880647022277] Failed to read output from testmodel.py, exit status != 0: 0.42042877501808107 0.171279961 0.026351515000000002 Calling exit ...