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.0009084/0.0009084, allocations: 84.8 kB / 21.62 MB, free: 2.84 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.001051/0.001051, allocations: 165.7 kB / 25.05 MB, free: 9.238 MB / 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.9571/0.9571, allocations: 177.1 MB / 205.5 MB, free: 5.465 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 1.921/1.921, allocations: 389.6 MB / 0.6363 GB, free: 12.27 MB / 0.6042 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.314e-06/2.314e-06, allocations: 0 / 0.7761 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.744e-05, allocations: 2.969 kB / 0.7761 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002012/0.002039, allocations: 0.7282 MB / 0.7768 GB, free: 4.598 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.003199, allocations: 0.8795 MB / 0.7777 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.519e-05/0.003244, allocations: 4.953 kB / 0.7777 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.003345, allocations: 3.938 kB / 0.7777 GB, free: 3.703 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.03e-05/0.003375, allocations: 5.844 kB / 0.7777 GB, free: 3.699 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.003525, allocations: 19.92 kB / 0.7777 GB, free: 3.68 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.709e-05/0.003612, allocations: 31.7 kB / 0.7778 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.767e-05/0.003689, allocations: 8.641 kB / 0.7778 GB, free: 3.645 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.959e-05/0.003759, allocations: 18.06 kB / 0.7778 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.313e-05/0.003822, allocations: 16.86 kB / 0.7778 GB, free: 3.613 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.00384, allocations: 0 / 0.7778 GB, free: 3.613 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/0.003852, allocations: 4 kB / 0.7778 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.033e-05/0.003902, allocations: 15.98 kB / 0.7778 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.373e-05/0.003926, allocations: 8.859 kB / 0.7778 GB, free: 3.59 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 8.776e-05/0.004014, allocations: 26.53 kB / 0.7779 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.004016, allocations: 4 kB / 0.7779 GB, free: 3.562 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.52e-07/0.004017, allocations: 3.938 kB / 0.7779 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.00402, allocations: 0 / 0.7779 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.0003626/0.004383, allocations: 246.8 kB / 0.7781 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.004426, allocations: 9.344 kB / 0.7781 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.082e-05/0.004457, allocations: 5.688 kB / 0.7781 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.004596, allocations: 113.8 kB / 0.7782 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.004615, allocations: 3.281 kB / 0.7782 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.004628, allocations: 4.375 kB / 0.7782 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.004771, allocations: 63.59 kB / 0.7783 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.004779, allocations: 192 / 0.7783 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.004788, allocations: 384 / 0.7783 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.004795, allocations: 384 / 0.7783 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.613e-05/0.004831, allocations: 15.88 kB / 0.7783 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002394/0.00507, allocations: 169.8 kB / 0.7785 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.427e-05/0.005125, allocations: 22.75 kB / 0.7785 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.106e-05/0.005146, allocations: 16.86 kB / 0.7785 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.005159, allocations: 7.922 kB / 0.7785 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.005185, allocations: 34.56 kB / 0.7785 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.005187, allocations: 0 / 0.7785 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001303/0.005317, allocations: 39.7 kB / 0.7786 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.005358, allocations: 51.41 kB / 0.7786 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.437e-05/0.005432, allocations: 106.7 kB / 0.7787 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.005444, allocations: 25.7 kB / 0.7788 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.952e-05/0.005483, allocations: 92.08 kB / 0.7788 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.005501, allocations: 16.41 kB / 0.7789 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.005536, allocations: 18.66 kB / 0.7789 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.526e-05/0.005621, allocations: 314.8 kB / 0.7792 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.396e-05/0.005635, allocations: 4.531 kB / 0.7792 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.187e-05/0.005647, allocations: 4.844 kB / 0.7792 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.604e-05/0.005693, allocations: 19.67 kB / 0.7792 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.005694, allocations: 1.438 kB / 0.7792 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.177e-05/0.005756, allocations: 37.69 kB / 0.7792 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.005769, allocations: 7.938 kB / 0.7793 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.005773, allocations: 0.9062 kB / 0.7793 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.005783, allocations: 0.6875 kB / 0.7793 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.475e-05/0.005857, allocations: 8 kB / 0.7793 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.005861, allocations: 5.719 kB / 0.7793 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.369e-05/0.005885, allocations: 7.922 kB / 0.7793 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.005889, allocations: 0 / 0.7793 GB, free: 1.969 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 7.018e-05/0.005959, allocations: 116.7 kB / 0.7794 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.005983, allocations: 4.797 kB / 0.7794 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.793e-05/0.006001, allocations: 7.25 kB / 0.7794 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.006003, allocations: 4.5 kB / 0.7794 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.006004, allocations: 4.625 kB / 0.7794 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.006008, allocations: 3.984 kB / 0.7794 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.006121, allocations: 63 kB / 0.7795 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.006123, allocations: 0 / 0.7795 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.151e-05/0.006165, allocations: 11.98 kB / 0.7795 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.006168, allocations: 0.875 kB / 0.7795 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/0.006172, allocations: 0 / 0.7795 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.006174, allocations: 0.625 kB / 0.7795 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.006176, allocations: 3.938 kB / 0.7795 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.006279, allocations: 144.2 kB / 0.7796 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.847e-06/0.006288, allocations: 5.75 kB / 0.7796 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.127e-06/0.006297, allocations: 0 / 0.7796 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.751e-05/0.006355, allocations: 4 kB / 0.7796 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.006393, allocations: 7.922 kB / 0.7796 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.006398, allocations: 4.594 kB / 0.7796 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.773e-05/0.006416, allocations: 16.84 kB / 0.7797 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.006416, allocations: 1 kB / 0.7797 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001971/0.006613, allocations: 4 kB / 0.7797 GB, free: 1.531 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.791e-05/0.006711, allocations: 78.08 kB / 0.7797 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.2e-05/0.006783, allocations: 12.86 kB / 0.7798 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.006785, allocations: 0.8125 kB / 0.7798 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.645e-05/0.006812, allocations: 12.84 kB / 0.7798 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.006985, allocations: 8.875 kB / 0.7798 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002768/0.007262, allocations: 132.2 kB / 0.7799 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.248e-05/0.007305, allocations: 60.31 kB / 0.78 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.04e-05/0.007335, allocations: 4.969 kB / 0.78 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.531e-05/0.00739, allocations: 55.38 kB / 0.78 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of SimCode: time 7.22e-07/0.007391, allocations: 1.906 kB / 0.78 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of Templates: time 0.003205/0.0106, allocations: 0.6428 MB / 0.7806 GB, free: 0.4961 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.825071590952575]