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.001305/0.001305, allocations: 80.53 kB / 19.94 MB, free: 1.766 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.001408/0.001408, allocations: 169 kB / 23.22 MB, free: 4.879 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.396/1.396, allocations: 177.1 MB / 203.5 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 179] 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.9096/0.9096, allocations: 114 MB / 373.9 MB, free: 13.23 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: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.5547 GB, free: 2.652 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.527e-05/2.754e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.648 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001767/0.001794, allocations: 0.6465 MB / 0.5553 GB, free: 2.016 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.003269, allocations: 0.8548 MB / 0.5561 GB, free: 1.148 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.913e-05/0.003338, allocations: 0 / 0.5561 GB, free: 1.148 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 9.959e-05/0.003438, allocations: 7.922 kB / 0.5561 GB, free: 1.141 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 2.79e-05/0.003466, allocations: 4 kB / 0.5561 GB, free: 1.137 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.003664, allocations: 19.92 kB / 0.5562 GB, free: 1.117 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.985e-05/0.003764, allocations: 31.86 kB / 0.5562 GB, free: 1.086 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.003885, allocations: 8 kB / 0.5562 GB, free: 1.078 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.137e-05/0.003977, allocations: 23.91 kB / 0.5562 GB, free: 1.055 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.463e-05/0.004051, allocations: 15.98 kB / 0.5562 GB, free: 1.039 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.004079, allocations: 0 / 0.5562 GB, free: 1.039 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.296e-05/0.004092, allocations: 4 kB / 0.5562 GB, free: 1.035 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.644e-05/0.004158, allocations: 15.92 kB / 0.5563 GB, free: 1.02 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.178e-05/0.0042, allocations: 11.98 kB / 0.5563 GB, free: 1.008 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.004332, allocations: 43.81 kB / 0.5563 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.004336, allocations: 0 / 0.5563 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.004337, allocations: 0 / 0.5563 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.391e-06/0.004342, allocations: 0 / 0.5563 GB, free: 0.9648 MB / 462.1 MB 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.0005621/0.004905, allocations: 276.8 kB / 0.5566 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.004947, allocations: 12.62 kB / 0.5566 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.004983, allocations: 4.938 kB / 0.5566 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.005169, allocations: 121.7 kB / 0.5567 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.00519, allocations: 4.312 kB / 0.5567 GB, free: 0.5 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.005211, allocations: 8.312 kB / 0.5567 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.005432, allocations: 62.22 kB / 0.5568 GB, free: 436 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.005442, allocations: 192 / 0.5568 GB, free: 436 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.005452, allocations: 384 / 0.5568 GB, free: 436 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.00546, allocations: 8.359 kB / 0.5568 GB, free: 428 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000202/0.005662, allocations: 47.89 kB / 0.5568 GB, free: 380 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003685/0.006031, allocations: 216.5 kB / 0.557 GB, free: 132 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.006205, allocations: 42.61 kB / 0.5571 GB, free: 80 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.556e-05/0.006301, allocations: 20.84 kB / 0.5571 GB, free: 56 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.006321, allocations: 3.938 kB / 0.5571 GB, free: 52 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.006354, allocations: 34.56 kB / 0.5571 GB, free: 8 kB / 462.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.006355, allocations: 0 / 0.5571 GB, free: 8 kB / 462.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004464/0.006801, allocations: 97.52 kB / 0.5572 GB, free: 15.91 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.006856, allocations: 51.41 kB / 0.5573 GB, free: 15.84 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.006957, allocations: 105.8 kB / 0.5574 GB, free: 15.73 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.006974, allocations: 25.7 kB / 0.5574 GB, free: 15.7 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.92e-05/0.007043, allocations: 96.03 kB / 0.5575 GB, free: 15.6 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/0.007057, allocations: 0 / 0.5575 GB, free: 15.6 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.942e-05/0.007097, allocations: 17.72 kB / 0.5575 GB, free: 15.58 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.007239, allocations: 315 kB / 0.5578 GB, free: 15.26 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.698e-05/0.007336, allocations: 23.98 kB / 0.5578 GB, free: 15.24 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.004e-05/0.007416, allocations: 11.98 kB / 0.5578 GB, free: 15.23 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.007596, allocations: 48.81 kB / 0.5579 GB, free: 15.18 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.007597, allocations: 0 / 0.5579 GB, free: 15.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003032/0.007901, allocations: 81.55 kB / 0.558 GB, free: 15.09 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.007916, allocations: 4 kB / 0.558 GB, free: 15.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.007921, allocations: 0 / 0.558 GB, free: 15.09 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.007938, allocations: 0 / 0.558 GB, free: 15.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.008045, allocations: 11.98 kB / 0.558 GB, free: 15.07 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.00805, allocations: 0 / 0.558 GB, free: 15.07 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.765e-05/0.008107, allocations: 7.984 kB / 0.558 GB, free: 15.07 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.008113, allocations: 0 / 0.558 GB, free: 15.07 MB / 478.1 MB 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.0001504/0.008264, allocations: 122.8 kB / 0.5581 GB, free: 14.94 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.00829, allocations: 7.969 kB / 0.5581 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.73e-05/0.008337, allocations: 7.312 kB / 0.5581 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.008339, allocations: 0 / 0.5581 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.008345, allocations: 3.984 kB / 0.5581 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.008347, allocations: 0 / 0.5581 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.008489, allocations: 113.3 kB / 0.5582 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.00849, allocations: 256 / 0.5582 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.137e-05/0.008562, allocations: 8 kB / 0.5582 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.008567, allocations: 11.88 kB / 0.5583 GB, free: 14.76 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.008576, allocations: 3.984 kB / 0.5583 GB, free: 14.76 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.008578, allocations: 4 kB / 0.5583 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.008579, allocations: 0 / 0.5583 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/0.008897, allocations: 163.5 kB / 0.5584 GB, free: 14.58 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.063e-05/0.008908, allocations: 7.953 kB / 0.5584 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.008924, allocations: 3.938 kB / 0.5584 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.454e-05/0.009008, allocations: 7.984 kB / 0.5584 GB, free: 14.56 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.777e-05/0.009066, allocations: 7.984 kB / 0.5584 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.00907, allocations: 3.938 kB / 0.5585 GB, free: 14.55 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.958e-05/0.00912, allocations: 87.31 kB / 0.5585 GB, free: 14.46 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.00912, allocations: 0 / 0.5585 GB, free: 14.46 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002178/0.009338, allocations: 4 kB / 0.5585 GB, free: 14.46 MB / 478.1 MB 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.0001319/0.00947, allocations: 98.38 kB / 0.5586 GB, free: 14.36 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002406/0.00971, allocations: 47.89 kB / 0.5587 GB, free: 14.31 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.009712, allocations: 0 / 0.5587 GB, free: 14.31 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 9.823e-05/0.00981, allocations: 24.03 kB / 0.5587 GB, free: 14.29 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.01007, allocations: 9.406 kB / 0.5587 GB, free: 14.28 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003934/0.01046, allocations: 116.7 kB / 0.5588 GB, free: 14.14 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.777e-05/0.01055, allocations: 63.34 kB / 0.5589 GB, free: 14.05 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 4.02e-05/0.01059, allocations: 7.984 kB / 0.5589 GB, free: 14.05 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.381e-05/0.01063, allocations: 8.5 kB / 0.5589 GB, free: 14.04 MB / 478.1 MB Notification: Performance of SimCode: time 8.62e-07/0.01063, allocations: 64 / 0.5589 GB, free: 14.04 MB / 478.1 MB Notification: Performance of Templates: time 0.003318/0.01394, allocations: 0.6597 MB / 0.5595 GB, free: 13.4 MB / 478.1 MB " [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.059125605970621] Failed to read output from testmodel.py, exit status != 0: 0.022882256656885147 0.038071949 0.030698971000000002 Calling exit ...