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.0008923/0.0008923, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 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.001033/0.001033, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 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.9922/0.9922, allocations: 177.1 MB / 204.6 MB, free: 5.492 MB / 186.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 2.003/2.003, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 177] 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 1.814e-06/1.814e-06, allocations: 0 / 0.7752 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.295e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001758/0.001781, allocations: 0.6804 MB / 0.7758 GB, free: 4.598 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008079/0.002589, allocations: 0.8778 MB / 0.7767 GB, free: 3.711 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.321e-05/0.002632, allocations: 0 / 0.7767 GB, free: 3.711 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 9.355e-05/0.002726, allocations: 3.938 kB / 0.7767 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.589e-05/0.002752, allocations: 9.625 kB / 0.7767 GB, free: 3.699 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001353/0.002887, allocations: 19.92 kB / 0.7767 GB, free: 3.68 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.881e-05/0.002956, allocations: 32.56 kB / 0.7767 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.422e-05/0.00303, allocations: 13.03 kB / 0.7768 GB, free: 3.641 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.985e-05/0.0031, allocations: 17.84 kB / 0.7768 GB, free: 3.625 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.869e-05/0.003159, allocations: 16.73 kB / 0.7768 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.00318, allocations: 5.5 kB / 0.7768 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.526e-06/0.003188, allocations: 0.6875 kB / 0.7768 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.776e-05/0.003236, allocations: 13.41 kB / 0.7768 GB, free: 3.594 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.342e-05/0.003259, allocations: 10.61 kB / 0.7768 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 7.983e-05/0.003339, allocations: 29.27 kB / 0.7768 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.003341, allocations: 1.25 kB / 0.7769 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.62e-07/0.003342, allocations: 0 / 0.7769 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.337e-06/0.003345, allocations: 1.5 kB / 0.7769 GB, free: 3.559 MB / 0.7292 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.0003007/0.003646, allocations: 241.5 kB / 0.7771 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.003683, allocations: 13.28 kB / 0.7771 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.621e-05/0.003709, allocations: 6.062 kB / 0.7771 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.003827, allocations: 113.8 kB / 0.7772 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.003843, allocations: 5.031 kB / 0.7772 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.003857, allocations: 5.281 kB / 0.7772 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.00399, allocations: 58.94 kB / 0.7773 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.004, allocations: 0.8438 kB / 0.7773 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.004006, allocations: 384 / 0.7773 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.004014, allocations: 1.125 kB / 0.7773 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.494e-05/0.004039, allocations: 16.16 kB / 0.7773 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002184/0.004257, allocations: 176.4 kB / 0.7775 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.563e-05/0.004303, allocations: 26.52 kB / 0.7775 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.506e-05/0.004318, allocations: 6.297 kB / 0.7775 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.004329, allocations: 0 / 0.7775 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.00435, allocations: 42.55 kB / 0.7775 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.004351, allocations: 0 / 0.7775 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001034/0.004455, allocations: 38.3 kB / 0.7776 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.004482, allocations: 53.12 kB / 0.7776 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.413e-05/0.004536, allocations: 114.8 kB / 0.7777 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.004545, allocations: 25.7 kB / 0.7778 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.774e-05/0.004573, allocations: 88.09 kB / 0.7778 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.444e-05/0.004588, allocations: 8.75 kB / 0.7778 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/0.004613, allocations: 21.7 kB / 0.7779 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.58e-05/0.004679, allocations: 310.8 kB / 0.7782 GB, free: 2.074 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.18e-05/0.004691, allocations: 4.5 kB / 0.7782 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.316e-06/0.004699, allocations: 4.688 kB / 0.7782 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.088e-05/0.00473, allocations: 22.36 kB / 0.7782 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.004732, allocations: 0 / 0.7782 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.607e-05/0.004778, allocations: 41.69 kB / 0.7782 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.004789, allocations: 7.938 kB / 0.7782 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.004793, allocations: 0 / 0.7782 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.004804, allocations: 0 / 0.7782 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.421e-05/0.004869, allocations: 10.75 kB / 0.7783 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.004871, allocations: 0 / 0.7783 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.702e-05/0.004888, allocations: 4.234 kB / 0.7783 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.004893, allocations: 0 / 0.7783 GB, free: 1.977 MB / 0.7292 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 6.842e-05/0.004961, allocations: 116.6 kB / 0.7784 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.004975, allocations: 4 kB / 0.7784 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.791e-05/0.004993, allocations: 13.59 kB / 0.7784 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.004994, allocations: 3.938 kB / 0.7784 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.004995, allocations: 0 / 0.7784 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.004998, allocations: 0 / 0.7784 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.147e-05/0.005079, allocations: 77.88 kB / 0.7785 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.00508, allocations: 0 / 0.7785 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.769e-05/0.005108, allocations: 9.359 kB / 0.7785 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.005109, allocations: 0 / 0.7785 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-06/0.005112, allocations: 0 / 0.7785 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.005113, allocations: 0 / 0.7785 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.005115, allocations: 4.812 kB / 0.7785 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.588e-05/0.005191, allocations: 135.5 kB / 0.7786 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-06/0.005197, allocations: 4.531 kB / 0.7786 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.793e-06/0.005204, allocations: 0.7812 kB / 0.7786 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.017e-05/0.005234, allocations: 4 kB / 0.7786 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.005269, allocations: 21.61 kB / 0.7786 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-06/0.005271, allocations: 0 / 0.7786 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.25e-05/0.005284, allocations: 8.859 kB / 0.7786 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005284, allocations: 0 / 0.7786 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000112/0.005396, allocations: 4 kB / 0.7786 GB, free: 1.539 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 8.488e-05/0.00548, allocations: 82 kB / 0.7787 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.06e-05/0.005541, allocations: 13.39 kB / 0.7787 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.005543, allocations: 0 / 0.7787 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.614e-05/0.005559, allocations: 13.97 kB / 0.7788 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.005686, allocations: 11.98 kB / 0.7788 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002334/0.00592, allocations: 140.5 kB / 0.7789 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.139e-05/0.005951, allocations: 60.19 kB / 0.779 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.014e-05/0.005971, allocations: 4.531 kB / 0.779 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.487e-05/0.006016, allocations: 52.03 kB / 0.779 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of SimCode: time 3.61e-07/0.006017, allocations: 0.7188 kB / 0.779 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of Templates: time 0.002078/0.008095, allocations: 0.6494 MB / 0.7796 GB, free: 0.4922 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: 5.097536884713918]