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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 114 kB / 17.12 MB, free: 6.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 211.2 kB / 20.1 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.545/1.545, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9905/0.9905, allocations: 150 MB / 459.5 MB, free: 5.297 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 69.83 kB / 0.6366 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2074, allocations: 89.14 MB / 0.7236 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.00205/0.2094, allocations: 0.6481 MB / 0.7243 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.2105, allocations: 0.8649 MB / 0.7251 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.656e-05/0.2106, allocations: 0 / 0.7251 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.2107, allocations: 7.922 kB / 0.7251 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 1.977e-05/0.2107, allocations: 4 kB / 0.7251 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.2109, allocations: 19.91 kB / 0.7251 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.662e-05/0.2109, allocations: 35.86 kB / 0.7252 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.788e-05/0.211, allocations: 7.938 kB / 0.7252 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.415e-05/0.2111, allocations: 15.98 kB / 0.7252 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.316e-05/0.2112, allocations: 19.92 kB / 0.7252 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.2112, allocations: 4 kB / 0.7252 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.866e-06/0.2112, allocations: 3.938 kB / 0.7252 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.54e-05/0.2112, allocations: 11.97 kB / 0.7252 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.768e-05/0.2113, allocations: 19.88 kB / 0.7252 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.2114, allocations: 35.88 kB / 0.7253 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2114, allocations: 4 kB / 0.7253 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2114, allocations: 0 / 0.7253 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.2114, allocations: 0 / 0.7253 GB, free: 1.84 MB / 0.5294 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.0005509/0.2119, allocations: 347.4 kB / 0.7256 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.212, allocations: 8.031 kB / 0.7256 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.265e-05/0.212, allocations: 4.891 kB / 0.7256 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.2122, allocations: 180.3 kB / 0.7258 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.2123, allocations: 4.375 kB / 0.7258 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.2123, allocations: 4.375 kB / 0.7258 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.2125, allocations: 66.22 kB / 0.7259 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.108e-06/0.2125, allocations: 192 / 0.7259 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.2125, allocations: 7.875 kB / 0.7259 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.2125, allocations: 0 / 0.7259 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002064/0.2127, allocations: 43.95 kB / 0.7259 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004235/0.2131, allocations: 288.7 kB / 0.7262 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.2133, allocations: 38.55 kB / 0.7262 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.998e-05/0.2134, allocations: 28.89 kB / 0.7263 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.2134, allocations: 0 / 0.7263 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.2134, allocations: 30.56 kB / 0.7263 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.2134, allocations: 4 kB / 0.7263 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003959/0.2138, allocations: 89.58 kB / 0.7264 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.2139, allocations: 51.41 kB / 0.7264 GB, free: 492 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.214, allocations: 109.8 kB / 0.7265 GB, free: 372 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.214, allocations: 25.7 kB / 0.7266 GB, free: 340 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.344e-05/0.2141, allocations: 84.14 kB / 0.7266 GB, free: 252 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.2141, allocations: 12.08 kB / 0.7266 GB, free: 240 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.2141, allocations: 13.7 kB / 0.7267 GB, free: 220 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.2143, allocations: 322.8 kB / 0.727 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.298e-05/0.2144, allocations: 11.98 kB / 0.727 GB, free: 15.88 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.758e-05/0.2145, allocations: 24.22 kB / 0.727 GB, free: 15.86 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.2147, allocations: 44.83 kB / 0.727 GB, free: 15.81 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.2147, allocations: 4 kB / 0.727 GB, free: 15.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000213/0.2149, allocations: 69.66 kB / 0.7271 GB, free: 15.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.2149, allocations: 11.98 kB / 0.7271 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.2149, allocations: 3.984 kB / 0.7271 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.2149, allocations: 0 / 0.7271 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.215, allocations: 4 kB / 0.7271 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.215, allocations: 7.953 kB / 0.7271 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.149e-05/0.2151, allocations: 11.94 kB / 0.7272 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.2151, allocations: 4 kB / 0.7272 GB, free: 15.69 MB / 0.545 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.0001404/0.2152, allocations: 117.8 kB / 0.7273 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.2153, allocations: 7.953 kB / 0.7273 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.611e-05/0.2153, allocations: 3.125 kB / 0.7273 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.2153, allocations: 0 / 0.7273 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.2153, allocations: 0 / 0.7273 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.2153, allocations: 0 / 0.7273 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.2155, allocations: 173.6 kB / 0.7274 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2155, allocations: 0 / 0.7274 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.173e-05/0.2156, allocations: 15.92 kB / 0.7275 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.2156, allocations: 0 / 0.7275 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.2156, allocations: 0 / 0.7275 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2156, allocations: 0 / 0.7275 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.2156, allocations: 4 kB / 0.7275 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/0.2159, allocations: 167.5 kB / 0.7276 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.426e-05/0.2159, allocations: 77.11 kB / 0.7277 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.2159, allocations: 3.984 kB / 0.7277 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.294e-05/0.216, allocations: 4 kB / 0.7277 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.216, allocations: 11.98 kB / 0.7277 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.2161, allocations: 0 / 0.7277 GB, free: 15.02 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.123e-05/0.2161, allocations: 79.28 kB / 0.7278 GB, free: 14.95 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2161, allocations: 0 / 0.7278 GB, free: 14.95 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002109/0.2163, allocations: 11.98 kB / 0.7278 GB, free: 14.93 MB / 0.545 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.000134/0.2164, allocations: 103.2 kB / 0.7279 GB, free: 14.82 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002508/0.2167, allocations: 47.84 kB / 0.7279 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2167, allocations: 0 / 0.7279 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.2168, allocations: 27.97 kB / 0.728 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.217, allocations: 4.125 kB / 0.728 GB, free: 14.74 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000367/0.2174, allocations: 125.3 kB / 0.7281 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.2178, allocations: 0.6807 MB / 0.7288 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.457e-05/0.2178, allocations: 4 kB / 0.7288 GB, free: 13.88 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.2178, allocations: 11.44 kB / 0.7288 GB, free: 13.87 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.2178, allocations: 0 / 0.7288 GB, free: 13.87 MB / 0.545 GB Notification: Performance of Templates: time 0.003186/0.221, allocations: 0.6259 MB / 0.7294 GB, free: 13.25 MB / 0.545 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: 6.100023319013417] Failed to read output from testmodel.py, exit status != 0: 0.22899984405376017 0.243091412 0.028903333000000003 Calling exit ...