Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0007274/0.0007274, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009875/0.001715, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007098/0.0007098, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009481/0.001658, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9828/0.9828, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09479/1.078, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.926/1.926, allocations: 389.9 MB / 0.6191 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4892/2.416, allocations: 127.1 MB / 0.7432 GB, free: 4.598 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0.7656 kB / 0.7445 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.345e-05, allocations: 2.312 kB / 0.7445 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002043/0.002067, allocations: 0.7177 MB / 0.7452 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.003124, allocations: 0.8815 MB / 0.746 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.935e-05/0.003174, allocations: 4 kB / 0.746 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 7.682e-05/0.003251, allocations: 4.703 kB / 0.746 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.699e-05/0.003278, allocations: 3.672 kB / 0.746 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001237/0.003401, allocations: 23.86 kB / 0.7461 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.003505, allocations: 27.92 kB / 0.7461 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.82e-05/0.003603, allocations: 16.84 kB / 0.7461 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.003707, allocations: 21.81 kB / 0.7461 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.651e-05/0.003793, allocations: 19.73 kB / 0.7461 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.00382, allocations: 0 / 0.7461 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.581e-05/0.003836, allocations: 4 kB / 0.7462 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.971e-05/0.003896, allocations: 10.3 kB / 0.7462 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.692e-05/0.003933, allocations: 5.094 kB / 0.7462 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.004038, allocations: 27.25 kB / 0.7462 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.888e-05/0.004056, allocations: 2.438 kB / 0.7462 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.423e-06/0.004058, allocations: 0 / 0.7462 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.072e-05/0.004079, allocations: 0 / 0.7462 GB, free: 1.59 MB / 0.7136 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.0005079/0.004586, allocations: 249.5 kB / 0.7464 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.004627, allocations: 11.97 kB / 0.7464 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.772e-05/0.004675, allocations: 8.922 kB / 0.7465 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.004833, allocations: 111.6 kB / 0.7466 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/0.004862, allocations: 8.359 kB / 0.7466 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.004874, allocations: 4.375 kB / 0.7466 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.005035, allocations: 58.94 kB / 0.7466 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.005045, allocations: 2.125 kB / 0.7466 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.005056, allocations: 4.375 kB / 0.7466 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.005063, allocations: 3.594 kB / 0.7466 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.672e-05/0.005109, allocations: 15.92 kB / 0.7467 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002836/0.005393, allocations: 171 kB / 0.7468 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.606e-05/0.005459, allocations: 22.56 kB / 0.7468 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.171e-05/0.005481, allocations: 8.922 kB / 0.7468 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.005494, allocations: 0 / 0.7468 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.005523, allocations: 38.5 kB / 0.7469 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.005524, allocations: 0.625 kB / 0.7469 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001672/0.005692, allocations: 47.08 kB / 0.7469 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.005734, allocations: 51.41 kB / 0.747 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.188e-05/0.005816, allocations: 111.3 kB / 0.7471 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.005832, allocations: 26.33 kB / 0.7471 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.441e-05/0.005877, allocations: 84.86 kB / 0.7472 GB, free: 456 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.005899, allocations: 8.547 kB / 0.7472 GB, free: 448 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.005942, allocations: 20.19 kB / 0.7472 GB, free: 424 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.006055, allocations: 318.8 kB / 0.7475 GB, free: 96 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.591e-05/0.006071, allocations: 0 / 0.7475 GB, free: 96 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.4e-05/0.006085, allocations: 7.938 kB / 0.7475 GB, free: 88 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.274e-05/0.006128, allocations: 16.66 kB / 0.7475 GB, free: 68 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.00613, allocations: 0.5938 kB / 0.7475 GB, free: 68 kB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.096e-05/0.006201, allocations: 38.28 kB / 0.7476 GB, free: 24 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.006217, allocations: 7.938 kB / 0.7476 GB, free: 16 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.006223, allocations: 0.6562 kB / 0.7476 GB, free: 16 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.006237, allocations: 1.109 kB / 0.7476 GB, free: 16 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.006341, allocations: 12.23 kB / 0.7476 GB, free: 4 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.006345, allocations: 1.531 kB / 0.7476 GB, free: 4 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.921e-05/0.006374, allocations: 4 kB / 0.7476 GB, free: 0 / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.006379, allocations: 0 / 0.7476 GB, free: 0 / 0.7136 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.0001251/0.006504, allocations: 117.9 kB / 0.7477 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.006528, allocations: 5.422 kB / 0.7477 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.887e-05/0.006557, allocations: 15.25 kB / 0.7477 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.006558, allocations: 0 / 0.7477 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.006561, allocations: 0 / 0.7477 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.006565, allocations: 1.094 kB / 0.7477 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.006696, allocations: 69.88 kB / 0.7478 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.006697, allocations: 4.984 kB / 0.7478 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.874e-05/0.006756, allocations: 4.5 kB / 0.7478 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.184e-06/0.006763, allocations: 0.75 kB / 0.7478 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.006766, allocations: 0 / 0.7478 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.006775, allocations: 13.95 kB / 0.7478 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.006776, allocations: 0 / 0.7478 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.006777, allocations: 0 / 0.7478 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.006893, allocations: 127.5 kB / 0.748 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.006906, allocations: 4 kB / 0.748 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.05e-05/0.006967, allocations: 3.406 kB / 0.748 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/0.007016, allocations: 19.86 kB / 0.748 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.00702, allocations: 0 / 0.748 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.628e-05/0.007036, allocations: 8.859 kB / 0.748 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.007037, allocations: 0 / 0.748 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001978/0.007234, allocations: 4 kB / 0.748 GB, free: 15.57 MB / 0.7292 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 9.963e-05/0.007334, allocations: 83.3 kB / 0.7481 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.796e-05/0.007432, allocations: 20.84 kB / 0.7481 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.007437, allocations: 0 / 0.7481 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.54e-05/0.007462, allocations: 12.86 kB / 0.7481 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/0.007644, allocations: 11.92 kB / 0.7481 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004488/0.008093, allocations: 145 kB / 0.7483 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.398e-05/0.008137, allocations: 59.34 kB / 0.7483 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.074e-05/0.008167, allocations: 5.219 kB / 0.7483 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.546e-05/0.008223, allocations: 51.38 kB / 0.7484 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of SimCode: time 7.31e-07/0.008224, allocations: 1.312 kB / 0.7484 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of Templates: time 0.00286/0.01108, allocations: 0.6726 MB / 0.749 GB, free: 14.5 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.852517987601459]