Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.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.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009351/0.000935, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006174/0.006174, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.55/1.55, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.138/3.138, allocations: 473.4 MB / 0.7469 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003548, allocations: 14.28 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3923, allocations: 162.2 MB / 1.074 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001353/0.3937, allocations: 385.4 kB / 1.075 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001601/0.3953, allocations: 0.7962 MB / 1.075 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.313e-05/0.3954, allocations: 0 / 1.075 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001195/0.3955, allocations: 0 / 1.075 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001363/0.3957, allocations: 19.91 kB / 1.075 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.041e-05/0.3958, allocations: 8 kB / 1.075 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.3959, allocations: 51.84 kB / 1.075 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002139/0.3961, allocations: 27.97 kB / 1.075 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.945e-05/0.3962, allocations: 19.88 kB / 1.075 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.918e-05/0.3963, allocations: 23.91 kB / 1.075 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.288e-05/0.3964, allocations: 0 / 1.075 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.031e-05/0.3964, allocations: 4 kB / 1.075 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.529e-05/0.3965, allocations: 15.98 kB / 1.075 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.277e-05/0.3965, allocations: 53.48 kB / 1.076 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.3967, allocations: 55.83 kB / 1.076 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.3967, allocations: 4 kB / 1.076 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3967, allocations: 0 / 1.076 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.3967, allocations: 4 kB / 1.076 GB, free: 6.066 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008108/0.3975, allocations: 383.6 kB / 1.076 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.072e-05/0.3976, allocations: 12.02 kB / 1.076 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.464e-05/0.3977, allocations: 8.844 kB / 1.076 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.3979, allocations: 192.2 kB / 1.076 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.398, allocations: 4.375 kB / 1.076 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.398, allocations: 8.312 kB / 1.076 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000427/0.3984, allocations: 135.9 kB / 1.076 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3984, allocations: 8.188 kB / 1.076 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.3985, allocations: 3.938 kB / 1.076 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.3985, allocations: 0 / 1.076 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004745/0.399, allocations: 151.8 kB / 1.076 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.4, allocations: 448.8 kB / 1.077 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002805/0.4003, allocations: 101.1 kB / 1.077 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003283/0.4007, allocations: 77.64 kB / 1.077 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.4007, allocations: 4 kB / 1.077 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.4008, allocations: 34.56 kB / 1.077 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 2.024e-06/0.4008, allocations: 0 / 1.077 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0009351/0.4017, allocations: 225.4 kB / 1.077 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.422e-05/0.4018, allocations: 81.27 kB / 1.077 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.402, allocations: 117.8 kB / 1.077 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.402, allocations: 25.7 kB / 1.077 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.043e-05/0.4021, allocations: 96.06 kB / 1.078 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.4022, allocations: 7.906 kB / 1.078 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-05/0.4022, allocations: 9.719 kB / 1.078 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002011/0.4024, allocations: 318.8 kB / 1.078 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.4027, allocations: 67.92 kB / 1.078 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.4029, allocations: 77.64 kB / 1.078 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004873/0.4034, allocations: 133.5 kB / 1.078 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.4034, allocations: 0 / 1.078 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004702/0.4039, allocations: 165.4 kB / 1.078 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.4039, allocations: 5.406 kB / 1.078 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.4039, allocations: 4.375 kB / 1.078 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.404, allocations: 0 / 1.078 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.4041, allocations: 28.03 kB / 1.078 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.4041, allocations: 0 / 1.078 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.863e-05/0.4042, allocations: 27.84 kB / 1.078 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.4043, allocations: 4 kB / 1.078 GB, free: 2.898 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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.0001069/0.4044, allocations: 121.8 kB / 1.079 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.633e-05/0.4045, allocations: 4 kB / 1.079 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.138e-05/0.4045, allocations: 15.53 kB / 1.079 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.4045, allocations: 3.984 kB / 1.079 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4045, allocations: 0 / 1.079 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.4045, allocations: 3.938 kB / 1.079 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/0.4048, allocations: 177.6 kB / 1.079 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.4048, allocations: 4 kB / 1.079 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.4049, allocations: 23.97 kB / 1.079 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.4049, allocations: 4 kB / 1.079 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.4049, allocations: 0 / 1.079 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.405, allocations: 0 / 1.079 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.405, allocations: 0 / 1.079 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005202/0.4055, allocations: 338.5 kB / 1.079 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.799e-05/0.4056, allocations: 89.05 kB / 1.079 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.4056, allocations: 0 / 1.079 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.4057, allocations: 20.02 kB / 1.079 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.997e-05/0.4058, allocations: 11.92 kB / 1.079 GB, free: 2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.4058, allocations: 4 kB / 1.079 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.396e-05/0.4059, allocations: 95.25 kB / 1.079 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.4059, allocations: 0 / 1.079 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002672/0.4062, allocations: 11.91 kB / 1.079 GB, free: 1.891 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 0.0001826/0.4064, allocations: 103.2 kB / 1.079 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004573/0.4068, allocations: 135.9 kB / 1.08 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4068, allocations: 0 / 1.08 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002218/0.4071, allocations: 71.92 kB / 1.08 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.4074, allocations: 16.11 kB / 1.08 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004456/0.4079, allocations: 188.5 kB / 1.08 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.4082, allocations: 0.6968 MB / 1.08 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.001e-05/0.4083, allocations: 19.84 kB / 1.08 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.34e-05/0.4084, allocations: 11.38 kB / 1.08 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of SimCode: time 9.52e-07/0.4084, allocations: 0 / 1.08 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of Templates: time 0.003344/0.4117, allocations: 0.635 MB / 1.081 GB, free: 15.97 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1)