Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.001323/0.001323, allocations: 112 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.001493/0.001493, allocations: 189.2 kB / 20.02 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.461/1.461, allocations: 222.9 MB / 245.7 MB, free: 4.207 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.115/1.115, allocations: 147.6 MB / 445.5 MB, free: 8.316 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.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 69.92 kB / 0.6113 GB, free: 37.75 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1345, allocations: 83.17 MB / 0.6926 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001744/0.1363, allocations: 0.6384 MB / 0.6932 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009798/0.1373, allocations: 0.8328 MB / 0.694 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.337e-05/0.1374, allocations: 0 / 0.694 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.438e-05/0.1375, allocations: 9.578 kB / 0.694 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.043e-05/0.1375, allocations: 3.938 kB / 0.694 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001421/0.1377, allocations: 16.33 kB / 0.694 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.536e-05/0.1377, allocations: 33.52 kB / 0.6941 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.543e-05/0.1378, allocations: 8.906 kB / 0.6941 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.764e-05/0.1379, allocations: 15.53 kB / 0.6941 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.508e-05/0.138, allocations: 21.36 kB / 0.6941 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.138, allocations: 3.781 kB / 0.6941 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.789e-06/0.138, allocations: 1.844 kB / 0.6941 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.834e-05/0.1381, allocations: 11.58 kB / 0.6941 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.1381, allocations: 15.5 kB / 0.6941 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 9.645e-05/0.1382, allocations: 49.27 kB / 0.6942 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1382, allocations: 0 / 0.6942 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1382, allocations: 0 / 0.6942 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.1382, allocations: 3.938 kB / 0.6942 GB, free: 11.81 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004845/0.1387, allocations: 349.3 kB / 0.6945 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.1387, allocations: 9.656 kB / 0.6945 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.55e-05/0.1388, allocations: 3.188 kB / 0.6945 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.139, allocations: 173.9 kB / 0.6947 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.139, allocations: 1.969 kB / 0.6947 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.139, allocations: 7.031 kB / 0.6947 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.1392, allocations: 64.41 kB / 0.6948 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1392, allocations: 8.125 kB / 0.6948 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1392, allocations: 6.688 kB / 0.6948 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1392, allocations: 4 kB / 0.6948 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.1394, allocations: 48.08 kB / 0.6948 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000379/0.1398, allocations: 274.8 kB / 0.6951 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.14, allocations: 45.14 kB / 0.6951 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.1401, allocations: 30.45 kB / 0.6952 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.1401, allocations: 1.375 kB / 0.6952 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.1401, allocations: 31.94 kB / 0.6952 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.1401, allocations: 0 / 0.6952 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0004005/0.1405, allocations: 82.64 kB / 0.6953 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.1406, allocations: 56.91 kB / 0.6953 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.419e-05/0.1407, allocations: 108.7 kB / 0.6954 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.1407, allocations: 25.7 kB / 0.6955 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.355e-05/0.1408, allocations: 89.41 kB / 0.6956 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.116e-05/0.1408, allocations: 1.375 kB / 0.6956 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.1408, allocations: 21.83 kB / 0.6956 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.141, allocations: 314.8 kB / 0.6959 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.898e-05/0.1411, allocations: 22.98 kB / 0.6959 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.706e-05/0.1412, allocations: 17.59 kB / 0.6959 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.1414, allocations: 41.45 kB / 0.696 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1414, allocations: 1.375 kB / 0.696 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002212/0.1416, allocations: 74.42 kB / 0.696 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1416, allocations: 8.109 kB / 0.696 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.1416, allocations: 1.375 kB / 0.696 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.1417, allocations: 3.984 kB / 0.696 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.1418, allocations: 10.81 kB / 0.696 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1418, allocations: 7.922 kB / 0.6961 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.321e-05/0.1418, allocations: 4.125 kB / 0.6961 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-06/0.1419, allocations: 4 kB / 0.6961 GB, free: 9.918 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 (intRep.y[3]) * 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.0001306/0.142, allocations: 120.5 kB / 0.6962 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.142, allocations: 1.375 kB / 0.6962 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.685e-05/0.142, allocations: 8.5 kB / 0.6962 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.142, allocations: 1.375 kB / 0.6962 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.1421, allocations: 3.938 kB / 0.6962 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1421, allocations: 0 / 0.6962 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.1423, allocations: 169.8 kB / 0.6964 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1423, allocations: 0 / 0.6964 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.331e-05/0.1423, allocations: 10.86 kB / 0.6964 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1424, allocations: 0 / 0.6964 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.1424, allocations: 5.375 kB / 0.6964 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1424, allocations: 256 / 0.6964 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1424, allocations: 0 / 0.6964 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.1426, allocations: 177.5 kB / 0.6965 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.917e-05/0.1427, allocations: 78.48 kB / 0.6966 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.1427, allocations: 3.984 kB / 0.6966 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.6e-05/0.1428, allocations: 8.156 kB / 0.6966 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.1429, allocations: 10.73 kB / 0.6966 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.1429, allocations: 1.375 kB / 0.6966 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.392e-05/0.1429, allocations: 82.03 kB / 0.6967 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1429, allocations: 1.375 kB / 0.6967 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000215/0.1432, allocations: 4.125 kB / 0.6967 GB, free: 9.219 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 (intRep.y[3]) * 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.0001104/0.1433, allocations: 101.1 kB / 0.6968 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002358/0.1435, allocations: 43.28 kB / 0.6969 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1435, allocations: 0 / 0.6969 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.1436, allocations: 29.66 kB / 0.6969 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.1439, allocations: 8.109 kB / 0.6969 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002873/0.1442, allocations: 118.2 kB / 0.697 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.1445, allocations: 0.6836 MB / 0.6977 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.501e-05/0.1446, allocations: 2.75 kB / 0.6977 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.1446, allocations: 10.19 kB / 0.6977 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.1446, allocations: 3.938 kB / 0.6977 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of Templates: time 0.003009/0.1476, allocations: 0.6049 MB / 0.6983 GB, free: 7.941 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.850930359680206] Failed to read output from testmodel.py, exit status != 0: 0.4433984598144889 0.16820763900000002 0.027338927000000002 Calling exit ...