Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.0008553/0.0008553, 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.0009857/0.0009857, 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.9717/0.9717, allocations: 177.2 MB / 204.6 MB, free: 5.484 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.004/2.004, allocations: 389.6 MB / 0.6354 GB, free: 12.31 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.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.7752 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077e-05/1.211e-05, allocations: 3.219 kB / 0.7752 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001054/0.001066, allocations: 0.6636 MB / 0.7758 GB, free: 4.766 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0006193/0.001685, allocations: 0.8417 MB / 0.7766 GB, free: 3.914 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.029e-05/0.001706, allocations: 0.6562 kB / 0.7766 GB, free: 3.914 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.218e-05/0.001748, allocations: 4.938 kB / 0.7766 GB, free: 3.91 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 1.58e-05/0.001764, allocations: 1.641 kB / 0.7766 GB, free: 3.91 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 4.956e-05/0.001813, allocations: 16.52 kB / 0.7766 GB, free: 3.895 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 4.079e-05/0.001854, allocations: 24.58 kB / 0.7767 GB, free: 3.875 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.187e-05/0.001886, allocations: 4.719 kB / 0.7767 GB, free: 3.871 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.95e-05/0.001915, allocations: 14.36 kB / 0.7767 GB, free: 3.859 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.875e-05/0.001944, allocations: 12.97 kB / 0.7767 GB, free: 3.848 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 7.965e-06/0.001952, allocations: 0.7656 kB / 0.7767 GB, free: 3.848 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 3.537e-06/0.001956, allocations: 4 kB / 0.7767 GB, free: 3.844 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.902e-05/0.001985, allocations: 13.98 kB / 0.7767 GB, free: 3.832 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.43e-05/0.001999, allocations: 1.422 kB / 0.7767 GB, free: 3.832 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 5.788e-05/0.002057, allocations: 25.5 kB / 0.7767 GB, free: 3.809 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.002058, allocations: 6.094 kB / 0.7768 GB, free: 3.805 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.91e-07/0.002059, allocations: 0 / 0.7768 GB, free: 3.805 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.544e-06/0.002061, allocations: 0 / 0.7768 GB, free: 3.805 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002401/0.002301, allocations: 237.8 kB / 0.777 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.00233, allocations: 13.34 kB / 0.777 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.961e-05/0.00235, allocations: 5.422 kB / 0.777 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.302e-05/0.002433, allocations: 106.3 kB / 0.7771 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.292e-06/0.002439, allocations: 5.062 kB / 0.7771 GB, free: 3.398 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.002447, allocations: 1.344 kB / 0.7771 GB, free: 3.398 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.853e-05/0.002525, allocations: 54.95 kB / 0.7772 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.002533, allocations: 8.172 kB / 0.7772 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.38e-06/0.002538, allocations: 2.469 kB / 0.7772 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.002543, allocations: 384 / 0.7772 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.448e-05/0.002557, allocations: 11.88 kB / 0.7772 GB, free: 3.316 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001956/0.002753, allocations: 163.7 kB / 0.7773 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.354e-05/0.002786, allocations: 15.27 kB / 0.7773 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.076e-05/0.002797, allocations: 4.922 kB / 0.7774 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.002805, allocations: 10.25 kB / 0.7774 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.002824, allocations: 42.55 kB / 0.7774 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.002824, allocations: 0 / 0.7774 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 7.553e-05/0.0029, allocations: 33.64 kB / 0.7774 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.002922, allocations: 52.22 kB / 0.7775 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.447e-05/0.002967, allocations: 107.4 kB / 0.7776 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.542e-06/0.002973, allocations: 26.2 kB / 0.7776 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.511e-05/0.002999, allocations: 88.75 kB / 0.7777 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.169e-05/0.00301, allocations: 3.953 kB / 0.7777 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.719e-05/0.003027, allocations: 12.88 kB / 0.7777 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.544e-05/0.003093, allocations: 318.8 kB / 0.778 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.34e-06/0.003098, allocations: 0.5469 kB / 0.778 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.332e-06/0.003105, allocations: 3.938 kB / 0.778 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.741e-05/0.003122, allocations: 15.69 kB / 0.778 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.003124, allocations: 0 / 0.778 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.784e-05/0.003151, allocations: 29.95 kB / 0.7781 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.365e-06/0.00316, allocations: 10.69 kB / 0.7781 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.003164, allocations: 7.938 kB / 0.7781 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.003175, allocations: 3.984 kB / 0.7781 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.525e-05/0.00321, allocations: 8 kB / 0.7781 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.003212, allocations: 0 / 0.7781 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.236e-05/0.003224, allocations: 3.938 kB / 0.7781 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.003228, allocations: 0 / 0.7781 GB, free: 2.281 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 4.465e-05/0.003273, allocations: 114.5 kB / 0.7782 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.334e-05/0.003286, allocations: 7.922 kB / 0.7782 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.184e-05/0.003298, allocations: 7.094 kB / 0.7782 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.62e-07/0.003299, allocations: 0 / 0.7782 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-06/0.0033, allocations: 4.875 kB / 0.7782 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.003302, allocations: 0 / 0.7782 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.83e-05/0.00337, allocations: 66.73 kB / 0.7783 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.003371, allocations: 0 / 0.7783 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.194e-05/0.003383, allocations: 7.984 kB / 0.7783 GB, free: 2.055 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-07/0.003383, allocations: 0.875 kB / 0.7783 GB, free: 2.055 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.866e-06/0.003386, allocations: 0 / 0.7783 GB, free: 2.055 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.003387, allocations: 0.75 kB / 0.7783 GB, free: 2.055 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.003388, allocations: 3.938 kB / 0.7783 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.044e-05/0.003449, allocations: 140.2 kB / 0.7784 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-06/0.003455, allocations: 5.875 kB / 0.7784 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.42e-06/0.00346, allocations: 0 / 0.7784 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.534e-05/0.003485, allocations: 4 kB / 0.7784 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.985e-05/0.003505, allocations: 3.938 kB / 0.7784 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-06/0.003506, allocations: 0 / 0.7784 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.648e-06/0.003516, allocations: 17.47 kB / 0.7785 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.003516, allocations: 0 / 0.7785 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001164/0.003632, allocations: 4.781 kB / 0.7785 GB, free: 1.863 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 5.831e-05/0.003691, allocations: 77.52 kB / 0.7785 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.17e-05/0.003732, allocations: 9.672 kB / 0.7786 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.003734, allocations: 0 / 0.7786 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.37e-05/0.003748, allocations: 13.38 kB / 0.7786 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001098/0.003858, allocations: 12.92 kB / 0.7786 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001852/0.004043, allocations: 119.9 kB / 0.7787 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.87e-05/0.004072, allocations: 56.23 kB / 0.7787 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.183e-05/0.004083, allocations: 7.875 kB / 0.7788 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.187e-05/0.004115, allocations: 52.31 kB / 0.7788 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of SimCode: time 4.51e-07/0.004116, allocations: 0 / 0.7788 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of Templates: time 0.001646/0.005762, allocations: 451.5 kB / 0.7792 GB, free: 1.039 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.10295929806307]