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.001412/0.001412, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.00156/0.00156, allocations: 211.3 kB / 23.74 MB, free: 4.445 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.457/1.457, allocations: 230.6 MB / 257.5 MB, free: 7.773 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.9394/0.9394, allocations: 149.9 MB / 463.8 MB, free: 10.37 MB / 366.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.002406/0.002406, allocations: 71.5 kB / 0.6423 GB, free: 9.613 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1951, allocations: 89.17 MB / 0.7294 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002175/0.1973, allocations: 0.645 MB / 0.73 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.1986, allocations: 0.851 MB / 0.7308 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.235e-05/0.1986, allocations: 0 / 0.7308 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.037e-05/0.1987, allocations: 3.938 kB / 0.7308 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.597e-05/0.1987, allocations: 7.922 kB / 0.7308 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.1989, allocations: 19.98 kB / 0.7309 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.632e-05/0.199, allocations: 27.92 kB / 0.7309 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.1991, allocations: 11.94 kB / 0.7309 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.367e-05/0.1992, allocations: 15.92 kB / 0.7309 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.765e-05/0.1992, allocations: 19.91 kB / 0.7309 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.1993, allocations: 8 kB / 0.7309 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.276e-05/0.1993, allocations: 4 kB / 0.731 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.556e-05/0.1993, allocations: 7.984 kB / 0.731 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.271e-05/0.1994, allocations: 11.94 kB / 0.731 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.1995, allocations: 39.8 kB / 0.731 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.1995, allocations: 8 kB / 0.731 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1995, allocations: 0 / 0.731 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.1995, allocations: 3.938 kB / 0.731 GB, free: 14.82 MB / 0.5606 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.0004663/0.1999, allocations: 274.2 kB / 0.7313 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.2, allocations: 12.03 kB / 0.7313 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.2, allocations: 8.891 kB / 0.7313 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.2002, allocations: 114.5 kB / 0.7314 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.2002, allocations: 4.375 kB / 0.7314 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.2002, allocations: 384 / 0.7314 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.2004, allocations: 66.22 kB / 0.7315 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.2004, allocations: 192 / 0.7315 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.2004, allocations: 3.938 kB / 0.7315 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.2004, allocations: 4 kB / 0.7315 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001891/0.2006, allocations: 51.89 kB / 0.7315 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000365/0.201, allocations: 224.4 kB / 0.7317 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.2012, allocations: 34.56 kB / 0.7318 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.504e-05/0.2013, allocations: 28.89 kB / 0.7318 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.2013, allocations: 0 / 0.7318 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.2013, allocations: 34.5 kB / 0.7318 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.2013, allocations: 0 / 0.7318 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003662/0.2017, allocations: 89.64 kB / 0.7319 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.2017, allocations: 51.41 kB / 0.732 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.462e-05/0.2018, allocations: 105.8 kB / 0.7321 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.2018, allocations: 29.7 kB / 0.7321 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/0.2019, allocations: 88.03 kB / 0.7322 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.2019, allocations: 8.016 kB / 0.7322 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.011e-05/0.2019, allocations: 25.7 kB / 0.7322 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.2021, allocations: 314.8 kB / 0.7325 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.792e-05/0.2022, allocations: 20.11 kB / 0.7325 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.035e-05/0.2023, allocations: 23.91 kB / 0.7326 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.2024, allocations: 44.77 kB / 0.7326 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2024, allocations: 0 / 0.7326 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000217/0.2027, allocations: 69.72 kB / 0.7327 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.2027, allocations: 11.98 kB / 0.7327 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.2027, allocations: 0 / 0.7327 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.2027, allocations: 0 / 0.7327 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.592e-05/0.2028, allocations: 4 kB / 0.7327 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/0.2028, allocations: 7.984 kB / 0.7327 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.62e-05/0.2029, allocations: 4 kB / 0.7327 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.2029, allocations: 0 / 0.7327 GB, free: 12.92 MB / 0.5606 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.0001514/0.203, allocations: 125.7 kB / 0.7328 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.203, allocations: 7.984 kB / 0.7328 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.911e-05/0.2031, allocations: 3.312 kB / 0.7328 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.2031, allocations: 3.984 kB / 0.7328 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.2031, allocations: 0 / 0.7328 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2031, allocations: 7.938 kB / 0.7328 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.2032, allocations: 113.2 kB / 0.7329 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2032, allocations: 0 / 0.7329 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.264e-05/0.2033, allocations: 11.98 kB / 0.733 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2033, allocations: 0 / 0.733 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.2033, allocations: 0 / 0.733 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2033, allocations: 0 / 0.733 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2033, allocations: 4.25 kB / 0.733 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.2036, allocations: 167.5 kB / 0.7331 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-06/0.2036, allocations: 3.938 kB / 0.7331 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.2036, allocations: 11.98 kB / 0.7331 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.879e-05/0.2037, allocations: 4 kB / 0.7331 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.2037, allocations: 11.92 kB / 0.7332 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.2037, allocations: 0 / 0.7332 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.806e-05/0.2038, allocations: 79.28 kB / 0.7332 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2038, allocations: 8.031 kB / 0.7332 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002148/0.204, allocations: 4 kB / 0.7332 GB, free: 12.3 MB / 0.5606 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.0001223/0.2041, allocations: 99.22 kB / 0.7333 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002228/0.2043, allocations: 43.95 kB / 0.7334 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2043, allocations: 0 / 0.7334 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.213e-05/0.2044, allocations: 20.05 kB / 0.7334 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.2047, allocations: 12 kB / 0.7334 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003707/0.205, allocations: 155.1 kB / 0.7336 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.883e-05/0.2051, allocations: 63.34 kB / 0.7336 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.681e-05/0.2052, allocations: 11.44 kB / 0.7336 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.2052, allocations: 0 / 0.7336 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of Templates: time 0.002327/0.2075, allocations: 0.6847 MB / 0.7343 GB, free: 11.16 MB / 0.5606 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: 8.004686036612839] Failed to read output from testmodel.py, exit status != 0: 0.21636405400931835 0.231162374 0.028497209000000003 Calling exit ...