Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 199.7 kB / 16.26 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.893/2.893, allocations: 472.6 MB / 0.7448 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 60.45 kB / 0.9115 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3615, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002811/0.3644, allocations: 0.7114 MB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.3657, allocations: 0.7924 MB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.162e-05/0.3658, allocations: 0 / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.3659, allocations: 3.938 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.447e-05/0.3659, allocations: 0 / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.3661, allocations: 8 kB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.542e-05/0.3662, allocations: 27.91 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.3664, allocations: 11.98 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.182e-05/0.3665, allocations: 15.94 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.73e-05/0.3665, allocations: 11.92 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.3666, allocations: 0 / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.337e-05/0.3666, allocations: 4 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.824e-05/0.3666, allocations: 4 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.413e-05/0.3667, allocations: 15.92 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.3668, allocations: 31.89 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.3668, allocations: 7.922 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.454e-06/0.3668, allocations: 0 / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.3668, allocations: 0 / 1.069 GB, free: 9.133 MB / 0.8262 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.0006596/0.3675, allocations: 349.2 kB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/0.3676, allocations: 8.031 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.71e-05/0.3676, allocations: 0.9375 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.3679, allocations: 176.2 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.3679, allocations: 4.375 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.3679, allocations: 4.375 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.3681, allocations: 54.23 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.3682, allocations: 192 / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.509e-05/0.3682, allocations: 7.938 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-06/0.3682, allocations: 0 / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.3684, allocations: 35.97 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006891/0.3691, allocations: 272.8 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.3692, allocations: 42.5 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.239e-05/0.3693, allocations: 16.91 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.3694, allocations: 3.984 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/0.3694, allocations: 34.56 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.693e-06/0.3694, allocations: 0 / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0004383/0.3699, allocations: 81.58 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001517/0.37, allocations: 51.41 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.3702, allocations: 105.8 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.3702, allocations: 25.7 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.415e-05/0.3703, allocations: 91.98 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.3703, allocations: 4 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.3703, allocations: 9.719 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.3705, allocations: 322.9 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.751e-05/0.3706, allocations: 15.98 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.925e-05/0.3706, allocations: 15.98 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.3708, allocations: 36.77 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.3708, allocations: 3.984 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001865/0.371, allocations: 65.89 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.371, allocations: 8 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.371, allocations: 0 / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.371, allocations: 0 / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.309e-05/0.3711, allocations: 11.98 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.3712, allocations: 0 / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.778e-05/0.3712, allocations: 7.984 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.3712, allocations: 0 / 1.071 GB, free: 7.078 MB / 0.8262 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 0.0001011/0.3713, allocations: 117.8 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.3714, allocations: 0 / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.773e-05/0.3714, allocations: 11.06 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3714, allocations: 0 / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.3714, allocations: 4 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3714, allocations: 0 / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.3716, allocations: 161.6 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3716, allocations: 0 / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.328e-05/0.3717, allocations: 7.984 kB / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.08e-05/0.3717, allocations: 8 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.3717, allocations: 7.875 kB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3717, allocations: 0 / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3718, allocations: 0 / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.372, allocations: 155.5 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.701e-05/0.372, allocations: 77.11 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.3721, allocations: 8.031 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.301e-05/0.3722, allocations: 3.984 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.3722, allocations: 8 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.3722, allocations: 0 / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.161e-05/0.3723, allocations: 79.28 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3723, allocations: 0 / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002197/0.3725, allocations: 4 kB / 1.072 GB, free: 6.344 MB / 0.8262 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 0.0001574/0.3727, allocations: 95.25 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002246/0.3729, allocations: 43.89 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3729, allocations: 0 / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.255e-05/0.373, allocations: 19.98 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.3733, allocations: 5.766 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003493/0.3737, allocations: 125.5 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.3741, allocations: 0.6806 MB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.696e-05/0.3742, allocations: 4 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.3742, allocations: 7.438 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3742, allocations: 0 / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of Templates: time 0.003114/0.3773, allocations: 370.2 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1)